Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008372/0.0008372, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008361/0.0008361, allocations: 221.7 kB / 22.26 MB, free: 3.691 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9965/0.9965, allocations: 230.6 MB / 256 MB, free: 9.797 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.846/0.846, allocations: 203.8 MB / 0.5042 GB, free: 10.71 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009811/0.0009811, allocations: 64.84 kB / 0.7182 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6146/0.6155, allocations: 102 MB / 0.8178 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002461/0.618, allocations: 1.497 MB / 0.8193 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007384/0.6187, allocations: 489.4 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.982e-05/0.6188, allocations: 0 / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.902e-05/0.6188, allocations: 5.344 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.619, allocations: 9.156 kB / 0.8198 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.6192, allocations: 18.58 kB / 0.8198 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.6193, allocations: 59.38 kB / 0.8198 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.6195, allocations: 13.05 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.319e-05/0.6195, allocations: 22.73 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.611e-05/0.6196, allocations: 22.61 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.6196, allocations: 4.562 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.496e-05/0.6197, allocations: 5.219 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.098e-05/0.6197, allocations: 14.19 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.108e-05/0.6198, allocations: 23.97 kB / 0.8199 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.6199, allocations: 39.06 kB / 0.82 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.6199, allocations: 3.375 kB / 0.82 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.915e-06/0.6199, allocations: 3.938 kB / 0.82 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.896e-06/0.6199, allocations: 0 / 0.82 GB, free: 15.76 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006075/0.6205, allocations: 288.8 kB / 0.8203 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.6206, allocations: 14.81 kB / 0.8203 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.106e-05/0.6206, allocations: 35.97 kB / 0.8203 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.6207, allocations: 7.219 kB / 0.8203 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.6208, allocations: 119.1 kB / 0.8204 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.6208, allocations: 384 / 0.8204 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.6208, allocations: 8.844 kB / 0.8204 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.621, allocations: 64.44 kB / 0.8205 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.621, allocations: 0 / 0.8205 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.621, allocations: 0.6562 kB / 0.8205 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.621, allocations: 4 kB / 0.8205 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.39e-05/0.6211, allocations: 26.05 kB / 0.8205 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005504/0.6216, allocations: 265.5 kB / 0.8208 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.6218, allocations: 55.22 kB / 0.8208 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.612e-05/0.6218, allocations: 25.56 kB / 0.8209 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.6218, allocations: 1.062 kB / 0.8209 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001842/0.622, allocations: 75.98 kB / 0.8209 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.622, allocations: 0 / 0.8209 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002508/0.6223, allocations: 96.62 kB / 0.821 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.6223, allocations: 56.09 kB / 0.8211 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.143e-05/0.6224, allocations: 112 kB / 0.8212 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.6224, allocations: 33.86 kB / 0.8212 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.092e-05/0.6225, allocations: 84.7 kB / 0.8213 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.6225, allocations: 25.08 kB / 0.8213 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.6225, allocations: 27.59 kB / 0.8214 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.6227, allocations: 319.3 kB / 0.8217 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.903e-05/0.6227, allocations: 17.41 kB / 0.8217 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.934e-05/0.6227, allocations: 53 kB / 0.8217 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.492e-05/0.6228, allocations: 70.56 kB / 0.8218 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.6228, allocations: 4 kB / 0.8218 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001345/0.623, allocations: 102.3 kB / 0.8219 GB, free: 14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.623, allocations: 9.25 kB / 0.8219 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.623, allocations: 0.6094 kB / 0.8219 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.623, allocations: 3.625 kB / 0.8219 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.626e-05/0.6231, allocations: 10.86 kB / 0.8219 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.6231, allocations: 6.281 kB / 0.8219 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.6231, allocations: 6.703 kB / 0.8219 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.6232, allocations: 7.406 kB / 0.8219 GB, free: 13.99 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.9e-05/0.6232, allocations: 122.9 kB / 0.8221 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.831e-06/0.6233, allocations: 3.031 kB / 0.8221 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.344e-05/0.6233, allocations: 11.3 kB / 0.8221 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.6233, allocations: 0.6094 kB / 0.8221 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6233, allocations: 0 / 0.8221 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.6233, allocations: 0.5625 kB / 0.8221 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003932/0.6237, allocations: 338.5 kB / 0.8224 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.6237, allocations: 1.984 kB / 0.8224 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.523e-05/0.6237, allocations: 3.422 kB / 0.8224 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.6237, allocations: 0.5 kB / 0.8224 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.6237, allocations: 2.625 kB / 0.8224 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.6237, allocations: 4.5 kB / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6237, allocations: 0 / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.6239, allocations: 188.5 kB / 0.8226 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-06/0.6239, allocations: 5.875 kB / 0.8226 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.6239, allocations: 0.9844 kB / 0.8226 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.029e-05/0.6239, allocations: 14.72 kB / 0.8226 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/0.624, allocations: 6.719 kB / 0.8226 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.624, allocations: 4.203 kB / 0.8226 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.416e-05/0.624, allocations: 82.8 kB / 0.8227 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.624, allocations: 0.7188 kB / 0.8227 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000161/0.6242, allocations: 15.75 kB / 0.8227 GB, free: 13.29 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003836/0.6246, allocations: 0.718 MB / 0.8234 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001372/0.6247, allocations: 58.53 kB / 0.8235 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6247, allocations: 3.938 kB / 0.8235 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.619e-05/0.6248, allocations: 21.17 kB / 0.8235 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.625, allocations: 19.17 kB / 0.8235 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.6262, allocations: 1.38 MB / 0.8249 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.6265, allocations: 0.6893 MB / 0.8255 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.72e-05/0.6265, allocations: 9.062 kB / 0.8255 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.728e-05/0.6266, allocations: 21.19 kB / 0.8256 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of SimCode: time 6.31e-07/0.6266, allocations: 0 / 0.8256 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01945/0.646, allocations: 1.91 MB / 0.8274 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.789/7.435, allocations: 5.094 kB / 0.8274 GB, free: 10.12 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.63090348802507] Failed to read output from testmodel.py, exit status != 0: 7.51213319809176 7.524225221 6.9021035600000005 Calling exit ...