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.001052/0.001052, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009955/0.0009955, allocations: 173 kB / 23.49 MB, free: 1.055 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.035/1.035, allocations: 177.1 MB / 203.8 MB, free: 5.617 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.8089/0.8089, allocations: 154.8 MB / 415.1 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.144e-06/2.144e-06, allocations: 0.6562 kB / 0.5205 GB, free: 1.234 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.356e-05/3.571e-05, allocations: 3.562 kB / 0.5205 GB, free: 1.23 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.003161/0.003197, allocations: 1.517 MB / 0.522 GB, free: 15.73 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008978/0.004094, allocations: 476.1 kB / 0.5225 GB, free: 15.26 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.207e-05/0.004157, allocations: 0 / 0.5225 GB, free: 15.26 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 4.012e-05/0.004197, allocations: 3.938 kB / 0.5225 GB, free: 15.26 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.004307, allocations: 7.875 kB / 0.5225 GB, free: 15.25 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.004504, allocations: 28.52 kB / 0.5225 GB, free: 15.22 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.000115/0.004619, allocations: 52.41 kB / 0.5225 GB, free: 15.17 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.004748, allocations: 7.984 kB / 0.5226 GB, free: 15.16 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.004849, allocations: 28.81 kB / 0.5226 GB, free: 15.14 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.216e-05/0.004932, allocations: 19.86 kB / 0.5226 GB, free: 15.12 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.004963, allocations: 4.5 kB / 0.5226 GB, free: 15.11 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.326e-05/0.004976, allocations: 5.5 kB / 0.5226 GB, free: 15.11 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.907e-05/0.005005, allocations: 11.97 kB / 0.5226 GB, free: 15.1 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 5.196e-05/0.005057, allocations: 19.94 kB / 0.5226 GB, free: 15.08 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.005186, allocations: 39.81 kB / 0.5227 GB, free: 15.04 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.005191, allocations: 0.9375 kB / 0.5227 GB, free: 15.04 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.005192, allocations: 0 / 0.5227 GB, free: 15.04 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.005198, allocations: 0 / 0.5227 GB, free: 15.04 MB / 458.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.0005939/0.005792, allocations: 385.9 kB / 0.523 GB, free: 14.63 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.005847, allocations: 8.031 kB / 0.5231 GB, free: 14.62 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.324e-05/0.00591, allocations: 4.938 kB / 0.5231 GB, free: 14.62 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.006081, allocations: 117.7 kB / 0.5232 GB, free: 14.48 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.006102, allocations: 8.375 kB / 0.5232 GB, free: 14.47 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.006119, allocations: 8.312 kB / 0.5232 GB, free: 14.46 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.006252, allocations: 50.92 kB / 0.5232 GB, free: 14.41 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.006262, allocations: 192 / 0.5232 GB, free: 14.41 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.006275, allocations: 1.656 kB / 0.5232 GB, free: 14.41 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.006286, allocations: 3.938 kB / 0.5232 GB, free: 14.4 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.112e-05/0.006347, allocations: 19.98 kB / 0.5233 GB, free: 14.38 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005222/0.006869, allocations: 281 kB / 0.5235 GB, free: 14.07 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.006994, allocations: 59.03 kB / 0.5236 GB, free: 14 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.429e-05/0.007038, allocations: 20.34 kB / 0.5236 GB, free: 13.98 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.007047, allocations: 0 / 0.5236 GB, free: 13.98 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.007213, allocations: 86.92 kB / 0.5237 GB, free: 13.88 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 2.324e-06/0.007216, allocations: 0 / 0.5237 GB, free: 13.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.00027/0.007486, allocations: 89.61 kB / 0.5238 GB, free: 13.79 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.00754, allocations: 55.41 kB / 0.5238 GB, free: 13.72 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.007648, allocations: 171.8 kB / 0.524 GB, free: 13.54 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.007669, allocations: 29.7 kB / 0.524 GB, free: 13.5 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.218e-05/0.007742, allocations: 134.9 kB / 0.5241 GB, free: 13.37 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.007775, allocations: 23.8 kB / 0.5242 GB, free: 13.34 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.966e-05/0.007825, allocations: 31.36 kB / 0.5242 GB, free: 13.3 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.008004, allocations: 0.4937 MB / 0.5247 GB, free: 12.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.3e-05/0.008037, allocations: 4 kB / 0.5247 GB, free: 12.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.819e-05/0.008106, allocations: 58.61 kB / 0.5247 GB, free: 12.72 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.008207, allocations: 71.7 kB / 0.5248 GB, free: 12.64 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.008211, allocations: 4 kB / 0.5248 GB, free: 12.63 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001682/0.008379, allocations: 94.77 kB / 0.5249 GB, free: 12.54 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.008402, allocations: 4 kB / 0.5249 GB, free: 12.53 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.008411, allocations: 3.984 kB / 0.5249 GB, free: 12.53 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.008433, allocations: 4 kB / 0.5249 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.008544, allocations: 8.531 kB / 0.5249 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.008554, allocations: 8.438 kB / 0.5249 GB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.03e-05/0.008614, allocations: 5.031 kB / 0.5249 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.008627, allocations: 8 kB / 0.5249 GB, free: 12.5 MB / 458.7 MB 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.0001087/0.008735, allocations: 165.8 kB / 0.5251 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.008755, allocations: 11.89 kB / 0.5251 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.55e-05/0.0088, allocations: 8.125 kB / 0.5251 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.008804, allocations: 288 / 0.5251 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.008812, allocations: 5.781 kB / 0.5251 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.008817, allocations: 0 / 0.5251 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004308/0.009248, allocations: 341.3 kB / 0.5254 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.009251, allocations: 3.984 kB / 0.5255 GB, free: 11.92 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.178e-05/0.009283, allocations: 9.766 kB / 0.5255 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.009287, allocations: 3.938 kB / 0.5255 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.009299, allocations: 4 kB / 0.5255 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.009302, allocations: 0 / 0.5255 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.009303, allocations: 0 / 0.5255 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.009518, allocations: 242 kB / 0.5257 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.386e-05/0.009532, allocations: 0 / 0.5257 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.009553, allocations: 8 kB / 0.5257 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.86e-05/0.009632, allocations: 0 / 0.5257 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.387e-05/0.009696, allocations: 7.984 kB / 0.5257 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.00971, allocations: 14.48 kB / 0.5257 GB, free: 11.62 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.961e-05/0.00977, allocations: 127.2 kB / 0.5259 GB, free: 11.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.00977, allocations: 0 / 0.5259 GB, free: 11.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002866/0.01006, allocations: 15.89 kB / 0.5259 GB, free: 11.48 MB / 458.7 MB 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.0001702/0.01023, allocations: 99.25 kB / 0.526 GB, free: 11.38 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001677/0.01039, allocations: 54 kB / 0.526 GB, free: 11.32 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.0104, allocations: 0 / 0.526 GB, free: 11.32 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.445e-05/0.01046, allocations: 39.59 kB / 0.526 GB, free: 11.28 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.01082, allocations: 11.44 kB / 0.5261 GB, free: 11.27 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004784/0.0113, allocations: 155.2 kB / 0.5262 GB, free: 11.09 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.473e-05/0.01135, allocations: 59.36 kB / 0.5263 GB, free: 11.02 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.965e-05/0.01139, allocations: 4.922 kB / 0.5263 GB, free: 11.01 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.238e-05/0.01144, allocations: 16.5 kB / 0.5263 GB, free: 11 MB / 458.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01144, allocations: 0 / 0.5263 GB, free: 11 MB / 458.7 MB Notification: Performance of Templates: time 0.003936/0.01537, allocations: 0.8238 MB / 0.5271 GB, free: 10.22 MB / 458.7 MB " [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: 4.0225261389277875]