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.001073/0.001073, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 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.001706/0.001706, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.99/0.99, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.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-535:34: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-535:42: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.8389/0.8389, allocations: 154.8 MB / 414.7 MB, free: 500 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.5205 GB, free: 2.016 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.431e-05, allocations: 3.594 kB / 0.5205 GB, free: 2.012 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002193/0.002217, allocations: 1.509 MB / 0.522 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007884/0.003005, allocations: 469.9 kB / 0.5224 GB, free: 52 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.834e-05/0.003044, allocations: 0.5 kB / 0.5224 GB, free: 52 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.011e-05/0.003074, allocations: 3.938 kB / 0.5224 GB, free: 48 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.345e-05/0.003157, allocations: 16.95 kB / 0.5225 GB, free: 32 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001616/0.003319, allocations: 27.84 kB / 0.5225 GB, free: 4 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.812e-05/0.003417, allocations: 48.62 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.003522, allocations: 8 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.062e-05/0.003593, allocations: 40.52 kB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.958e-05/0.003652, allocations: 7.984 kB / 0.5226 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.003671, allocations: 4.688 kB / 0.5226 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.708e-06/0.003681, allocations: 5.156 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.003704, allocations: 11.98 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.003741, allocations: 15.92 kB / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.003858, allocations: 39.81 kB / 0.5227 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.00386, allocations: 5.812 kB / 0.5227 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.082e-06/0.003861, allocations: 0 / 0.5227 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.003867, allocations: 0 / 0.5227 GB, free: 15.82 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.0004473/0.004314, allocations: 380.5 kB / 0.523 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.004359, allocations: 9.75 kB / 0.523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.873e-05/0.004407, allocations: 20.88 kB / 0.5231 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.883e-05/0.004506, allocations: 104.6 kB / 0.5232 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.004519, allocations: 4.375 kB / 0.5232 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.004535, allocations: 9.125 kB / 0.5232 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.631e-05/0.004632, allocations: 54.17 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.004642, allocations: 1.594 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.004651, allocations: 384 / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.004662, allocations: 7.938 kB / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.551e-05/0.004697, allocations: 15.98 kB / 0.5232 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/0.005077, allocations: 292.9 kB / 0.5235 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.073e-05/0.005158, allocations: 47.11 kB / 0.5236 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.366e-05/0.005192, allocations: 25.5 kB / 0.5236 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.005201, allocations: 4 kB / 0.5236 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001173/0.005318, allocations: 77 kB / 0.5237 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.472e-06/0.00532, allocations: 0 / 0.5237 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0001968/0.005517, allocations: 95.77 kB / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.005555, allocations: 55.41 kB / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.834e-05/0.005633, allocations: 165.9 kB / 0.524 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.005647, allocations: 33.7 kB / 0.524 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.761e-05/0.005695, allocations: 126.9 kB / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.005719, allocations: 23.84 kB / 0.5242 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.005757, allocations: 35.92 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.005875, allocations: 0.4933 MB / 0.5247 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.44e-05/0.0059, allocations: 11.94 kB / 0.5247 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.398e-05/0.005944, allocations: 53.14 kB / 0.5247 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.959e-05/0.006013, allocations: 75.33 kB / 0.5248 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.006016, allocations: 1.219 kB / 0.5248 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001078/0.006123, allocations: 97.62 kB / 0.5249 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.006138, allocations: 7.984 kB / 0.5249 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.006143, allocations: 0.9375 kB / 0.5249 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.00616, allocations: 4 kB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.796e-05/0.006238, allocations: 13.53 kB / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.006244, allocations: 0 / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.911e-05/0.006283, allocations: 7.938 kB / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.006291, allocations: 7.984 kB / 0.5249 GB, free: 13.28 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 7.62e-05/0.006367, allocations: 165.5 kB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.006381, allocations: 15.89 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.006407, allocations: 11.38 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.00641, allocations: 4 kB / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.006415, allocations: 0 / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.006418, allocations: 0 / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.006701, allocations: 337.3 kB / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.006703, allocations: 0 / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-05/0.006721, allocations: 7.984 kB / 0.5255 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.006723, allocations: 0 / 0.5255 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.00673, allocations: 3.031 kB / 0.5255 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.006732, allocations: 0 / 0.5255 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.006735, allocations: 4 kB / 0.5255 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.006859, allocations: 235.8 kB / 0.5257 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.849e-06/0.006869, allocations: 3.953 kB / 0.5257 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.00688, allocations: 4 kB / 0.5257 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.033e-05/0.00692, allocations: 4 kB / 0.5257 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.006963, allocations: 7.984 kB / 0.5257 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.006973, allocations: 13.42 kB / 0.5257 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.109e-05/0.007014, allocations: 127.1 kB / 0.5258 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007014, allocations: 0 / 0.5258 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001572/0.007171, allocations: 16 kB / 0.5259 GB, free: 12.28 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 8.688e-05/0.007258, allocations: 96.78 kB / 0.5259 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001207/0.007379, allocations: 59.66 kB / 0.526 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.00738, allocations: 0 / 0.526 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.114e-05/0.007421, allocations: 31.61 kB / 0.526 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.007616, allocations: 11.94 kB / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000302/0.007918, allocations: 168.4 kB / 0.5262 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.908e-05/0.007957, allocations: 63.34 kB / 0.5263 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.454e-05/0.007982, allocations: 4 kB / 0.5263 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.057e-05/0.008012, allocations: 12.5 kB / 0.5263 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.008013, allocations: 0 / 0.5263 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of Templates: time 0.002508/0.01052, allocations: 0.823 MB / 0.5271 GB, free: 11 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9218554189428687]