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.00141/0.00141, allocations: 92.2 kB / 20.19 MB, free: 4.352 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.002713/0.002713, allocations: 173 kB / 23.49 MB, free: 1.051 MB / 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 1.025/1.025, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.8227/0.8227, allocations: 154.6 MB / 414.9 MB, free: 0.6445 MB / 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 2.785e-06/2.785e-06, allocations: 0 / 0.5203 GB, free: 2.57 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.856e-05/4.135e-05, allocations: 3.078 kB / 0.5203 GB, free: 2.566 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.003106/0.003147, allocations: 1.511 MB / 0.5218 GB, free: 1.066 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009197/0.004067, allocations: 458.3 kB / 0.5222 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.347e-05/0.00412, allocations: 0 / 0.5222 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.14e-05/0.004162, allocations: 5.312 kB / 0.5222 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.004268, allocations: 15.86 kB / 0.5222 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002157/0.004484, allocations: 27.84 kB / 0.5222 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.004602, allocations: 51.84 kB / 0.5223 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.004745, allocations: 12.8 kB / 0.5223 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.004852, allocations: 27.91 kB / 0.5223 GB, free: 492 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.125e-05/0.004943, allocations: 21.25 kB / 0.5224 GB, free: 472 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.419e-05/0.004977, allocations: 4 kB / 0.5224 GB, free: 468 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.354e-05/0.004991, allocations: 4 kB / 0.5224 GB, free: 464 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.899e-05/0.00502, allocations: 13.27 kB / 0.5224 GB, free: 452 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.138e-05/0.005071, allocations: 12 kB / 0.5224 GB, free: 440 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.005218, allocations: 35.88 kB / 0.5224 GB, free: 404 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.005224, allocations: 0 / 0.5224 GB, free: 404 kB / 490.7 MB Notification: Performance of FrontEnd: time 3.296e-06/0.005227, allocations: 4.781 kB / 0.5224 GB, free: 400 kB / 490.7 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.005236, allocations: 0 / 0.5224 GB, free: 400 kB / 490.7 MB 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.0006326/0.005868, allocations: 382.9 kB / 0.5228 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.005918, allocations: 8.031 kB / 0.5228 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.359e-05/0.005982, allocations: 12.94 kB / 0.5228 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.006123, allocations: 120.4 kB / 0.5229 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.006144, allocations: 6.531 kB / 0.5229 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.00616, allocations: 8.375 kB / 0.5229 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.006283, allocations: 46.25 kB / 0.523 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.006296, allocations: 4.172 kB / 0.523 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.006308, allocations: 3.75 kB / 0.523 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.006319, allocations: 1.469 kB / 0.523 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.859e-05/0.006378, allocations: 23.86 kB / 0.523 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005237/0.006901, allocations: 295.6 kB / 0.5233 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.007139, allocations: 56.05 kB / 0.5234 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.775e-05/0.007187, allocations: 19.78 kB / 0.5234 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.007197, allocations: 0.9688 kB / 0.5234 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.007361, allocations: 77.02 kB / 0.5234 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.924e-06/0.007363, allocations: 4.438 kB / 0.5234 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0002674/0.00763, allocations: 94.33 kB / 0.5235 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.007691, allocations: 55.41 kB / 0.5236 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.007795, allocations: 167.1 kB / 0.5238 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.007818, allocations: 37.64 kB / 0.5238 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.92e-05/0.007877, allocations: 126.9 kB / 0.5239 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.007907, allocations: 20.42 kB / 0.5239 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/0.007959, allocations: 35.36 kB / 0.524 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.00811, allocations: 0.494 MB / 0.5244 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.173e-05/0.008142, allocations: 11.98 kB / 0.5245 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.867e-05/0.0082, allocations: 46.73 kB / 0.5245 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.014e-05/0.00829, allocations: 66.67 kB / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.008293, allocations: 5.719 kB / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001538/0.008447, allocations: 85.86 kB / 0.5247 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.008466, allocations: 4 kB / 0.5247 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.008473, allocations: 0 / 0.5247 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.008493, allocations: 9.453 kB / 0.5247 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.0086, allocations: 19.94 kB / 0.5247 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.008607, allocations: 0 / 0.5247 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.663e-05/0.008663, allocations: 7.938 kB / 0.5247 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.008674, allocations: 8.734 kB / 0.5247 GB, free: 13.84 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 0.0001067/0.00878, allocations: 169.2 kB / 0.5249 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/0.008799, allocations: 7.953 kB / 0.5249 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.008834, allocations: 9.375 kB / 0.5249 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.008837, allocations: 0 / 0.5249 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.008842, allocations: 4 kB / 0.5249 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.008847, allocations: 2.719 kB / 0.5249 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004145/0.009262, allocations: 349.3 kB / 0.5252 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.009264, allocations: 0 / 0.5252 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.008e-05/0.009294, allocations: 11.92 kB / 0.5252 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.009298, allocations: 0 / 0.5252 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.009307, allocations: 0 / 0.5252 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.009311, allocations: 4.062 kB / 0.5252 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.009313, allocations: 2.75 kB / 0.5252 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.009496, allocations: 239.8 kB / 0.5255 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.009508, allocations: 0 / 0.5255 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.009527, allocations: 4 kB / 0.5255 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.401e-05/0.009601, allocations: 0 / 0.5255 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/0.009658, allocations: 11.98 kB / 0.5255 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.009666, allocations: 4 kB / 0.5255 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.543e-05/0.009721, allocations: 127.2 kB / 0.5256 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.009721, allocations: 0.9375 kB / 0.5256 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002652/0.009987, allocations: 23.89 kB / 0.5256 GB, free: 12.82 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 0.0001238/0.01011, allocations: 94.02 kB / 0.5257 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001504/0.01026, allocations: 60.47 kB / 0.5258 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01026, allocations: 0 / 0.5258 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.592e-05/0.01032, allocations: 28.95 kB / 0.5258 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.01064, allocations: 8 kB / 0.5258 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004444/0.01109, allocations: 171.5 kB / 0.526 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.232e-05/0.01114, allocations: 59.36 kB / 0.526 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.062e-05/0.01118, allocations: 11.58 kB / 0.526 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/0.01122, allocations: 13.16 kB / 0.5261 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of SimCode: time 9.42e-07/0.01122, allocations: 0 / 0.5261 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of Templates: time 0.003281/0.0145, allocations: 0.8164 MB / 0.5269 GB, free: 11.56 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: 4.041229906026274]