Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008753/0.0008753, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0009355/0.0009355, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 18.57 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.9034/0.9034, allocations: 177.1 MB / 204.5 MB, free: 5.105 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7451/0.7451, allocations: 154.6 MB / 415.6 MB, free: 496 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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: translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.5215 GB, free: 1.977 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.292e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.973 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.001811/0.001834, allocations: 1.511 MB / 0.523 GB, free: 480 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005732/0.002407, allocations: 464.5 kB / 0.5234 GB, free: 12 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.743e-05/0.002445, allocations: 1.281 kB / 0.5234 GB, free: 12 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.515e-05/0.00247, allocations: 3.938 kB / 0.5234 GB, free: 8 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.111e-05/0.002541, allocations: 7.875 kB / 0.5234 GB, free: 0 / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001291/0.00267, allocations: 20.55 kB / 0.5234 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.933e-05/0.002739, allocations: 55.77 kB / 0.5235 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.362e-05/0.002823, allocations: 12.73 kB / 0.5235 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.964e-05/0.002882, allocations: 27.98 kB / 0.5235 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.873e-05/0.002941, allocations: 21.36 kB / 0.5235 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.00296, allocations: 4 kB / 0.5235 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.618e-05/0.002976, allocations: 8 kB / 0.5236 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.268e-05/0.002999, allocations: 7.984 kB / 0.5236 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.003027, allocations: 17.16 kB / 0.5236 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 8.309e-05/0.00311, allocations: 31.94 kB / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.003112, allocations: 0 / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.51e-07/0.003112, allocations: 7.562 kB / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.003116, allocations: 0 / 0.5236 GB, free: 15.8 MB / 0.4948 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.0003428/0.003459, allocations: 388.5 kB / 0.524 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.003489, allocations: 8.031 kB / 0.524 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.845e-05/0.003518, allocations: 8.891 kB / 0.524 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.041e-05/0.003598, allocations: 116.5 kB / 0.5241 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.003611, allocations: 8.375 kB / 0.5241 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.00362, allocations: 4.375 kB / 0.5241 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.437e-05/0.003684, allocations: 42.25 kB / 0.5242 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.003691, allocations: 0.75 kB / 0.5242 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.003698, allocations: 0.9375 kB / 0.5242 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.003705, allocations: 7.938 kB / 0.5242 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.76e-05/0.003732, allocations: 24.86 kB / 0.5242 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002569/0.003989, allocations: 269.8 kB / 0.5245 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.004322, allocations: 59.06 kB / 0.5245 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.687e-05/0.004348, allocations: 19.7 kB / 0.5245 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.593e-06/0.004355, allocations: 0.5312 kB / 0.5245 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000107/0.004462, allocations: 69.48 kB / 0.5246 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.004464, allocations: 0 / 0.5246 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0001863/0.00465, allocations: 86.42 kB / 0.5247 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.00469, allocations: 55.41 kB / 0.5247 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.451e-05/0.004774, allocations: 171.7 kB / 0.5249 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.00479, allocations: 25.7 kB / 0.5249 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/0.004843, allocations: 138.9 kB / 0.5251 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.004875, allocations: 27.77 kB / 0.5251 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/0.004921, allocations: 27.94 kB / 0.5251 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.005053, allocations: 0.4884 MB / 0.5256 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.269e-05/0.005075, allocations: 12.89 kB / 0.5256 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.786e-05/0.005123, allocations: 54.67 kB / 0.5257 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.699e-05/0.00519, allocations: 60.11 kB / 0.5257 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.005193, allocations: 0 / 0.5257 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001211/0.005314, allocations: 85.5 kB / 0.5258 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.005326, allocations: 10.09 kB / 0.5258 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.005331, allocations: 0 / 0.5258 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.005341, allocations: 4 kB / 0.5258 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.305e-05/0.005404, allocations: 15.94 kB / 0.5258 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.005409, allocations: 7.984 kB / 0.5258 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.768e-05/0.005447, allocations: 10.69 kB / 0.5258 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.005451, allocations: 0 / 0.5258 GB, free: 13.31 MB / 0.4948 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 6.196e-05/0.005513, allocations: 160.6 kB / 0.526 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.005525, allocations: 15.89 kB / 0.526 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.974e-05/0.005545, allocations: 8.406 kB / 0.526 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.005547, allocations: 0 / 0.526 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.005548, allocations: 0 / 0.526 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.005554, allocations: 9.531 kB / 0.526 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.005782, allocations: 325.9 kB / 0.5263 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.005784, allocations: 3.984 kB / 0.5263 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.008e-05/0.005804, allocations: 4.062 kB / 0.5263 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.005807, allocations: 4.938 kB / 0.5263 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.005812, allocations: 0 / 0.5263 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.005814, allocations: 0.9375 kB / 0.5263 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.005815, allocations: 0 / 0.5263 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.949e-05/0.005914, allocations: 232.2 kB / 0.5266 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.844e-06/0.005922, allocations: 8.609 kB / 0.5266 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.046e-06/0.00593, allocations: 0 / 0.5266 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.473e-05/0.005965, allocations: 8.781 kB / 0.5266 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.497e-05/0.00599, allocations: 3.984 kB / 0.5266 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.005995, allocations: 10.77 kB / 0.5266 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.227e-05/0.006028, allocations: 127.2 kB / 0.5267 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006028, allocations: 0 / 0.5267 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001422/0.00617, allocations: 16 kB / 0.5267 GB, free: 12.33 MB / 0.4948 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 6.266e-05/0.006233, allocations: 94.5 kB / 0.5268 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.909e-05/0.006312, allocations: 58.69 kB / 0.5269 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.006314, allocations: 7.938 kB / 0.5269 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.856e-05/0.006343, allocations: 23.67 kB / 0.5269 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.006516, allocations: 15.7 kB / 0.5269 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002459/0.006762, allocations: 169.9 kB / 0.5271 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.067e-05/0.006793, allocations: 63.34 kB / 0.5271 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.112e-05/0.006814, allocations: 5.406 kB / 0.5272 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.751e-05/0.006861, allocations: 78.2 kB / 0.5272 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/0.006862, allocations: 0 / 0.5272 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of Templates: time 0.002159/0.009021, allocations: 0.9091 MB / 0.5281 GB, free: 10.91 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3499356261454523]