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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7093/0.7093, allocations: 133.4 MB / 150.1 MB, free: 11.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 404.7 MB, free: 6.078 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009987/0.0009988, allocations: 107.5 kB / 485.9 MB, free: 7.188 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001023, allocations: 51.92 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.12, allocations: 80.42 MB / 0.6421 GB, free: 5.461 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002574/0.1227, allocations: 1.518 MB / 0.6436 GB, free: 3.922 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007072/0.1234, allocations: 444.3 kB / 0.644 GB, free: 3.484 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.535e-05/0.1234, allocations: 0 / 0.644 GB, free: 3.484 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.932e-05/0.1235, allocations: 7.938 kB / 0.644 GB, free: 3.477 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.722e-05/0.1236, allocations: 0 / 0.644 GB, free: 3.477 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.1237, allocations: 23.91 kB / 0.6441 GB, free: 3.453 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.78e-05/0.1238, allocations: 47.84 kB / 0.6441 GB, free: 3.406 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.124, allocations: 16 kB / 0.6441 GB, free: 3.391 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.787e-05/0.124, allocations: 19.92 kB / 0.6441 GB, free: 3.371 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.451e-05/0.1241, allocations: 23.92 kB / 0.6442 GB, free: 3.348 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.1241, allocations: 0 / 0.6442 GB, free: 3.348 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.685e-05/0.1242, allocations: 4 kB / 0.6442 GB, free: 3.344 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.818e-05/0.1242, allocations: 7.984 kB / 0.6442 GB, free: 3.336 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.4e-05/0.1243, allocations: 31.78 kB / 0.6442 GB, free: 3.305 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.638e-05/0.1244, allocations: 35.89 kB / 0.6442 GB, free: 3.27 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1244, allocations: 0 / 0.6442 GB, free: 3.27 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1244, allocations: 0 / 0.6442 GB, free: 3.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.936e-06/0.1244, allocations: 0 / 0.6442 GB, free: 3.27 MB / 442.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.0005357/0.1249, allocations: 370 kB / 0.6446 GB, free: 2.863 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.125, allocations: 8.031 kB / 0.6446 GB, free: 2.855 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.125, allocations: 4.938 kB / 0.6446 GB, free: 2.852 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.1251, allocations: 176.2 kB / 0.6448 GB, free: 2.641 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.1252, allocations: 12.38 kB / 0.6448 GB, free: 2.629 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.1252, allocations: 4.375 kB / 0.6448 GB, free: 2.625 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.1253, allocations: 57.94 kB / 0.6449 GB, free: 2.562 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.1253, allocations: 0 / 0.6449 GB, free: 2.562 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.1253, allocations: 19.86 kB / 0.6449 GB, free: 2.543 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.1253, allocations: 0 / 0.6449 GB, free: 2.543 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.543e-05/0.1254, allocations: 23.98 kB / 0.6449 GB, free: 2.52 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.1259, allocations: 300.7 kB / 0.6452 GB, free: 2.176 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.126, allocations: 54.56 kB / 0.6452 GB, free: 2.113 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.409e-05/0.1261, allocations: 28.94 kB / 0.6453 GB, free: 2.082 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.1261, allocations: 0 / 0.6453 GB, free: 2.082 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.1262, allocations: 75.42 kB / 0.6453 GB, free: 1.996 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.1262, allocations: 0 / 0.6453 GB, free: 1.996 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.000207/0.1265, allocations: 101.5 kB / 0.6454 GB, free: 1.891 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.1265, allocations: 51.41 kB / 0.6455 GB, free: 1.828 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.94e-05/0.1266, allocations: 109.8 kB / 0.6456 GB, free: 1.711 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.1266, allocations: 29.7 kB / 0.6456 GB, free: 1.676 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.1267, allocations: 92.05 kB / 0.6457 GB, free: 1.582 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.1267, allocations: 15.73 kB / 0.6457 GB, free: 1.566 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.1267, allocations: 29.72 kB / 0.6457 GB, free: 1.531 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1268, allocations: 322.8 kB / 0.646 GB, free: 1.207 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.195e-05/0.1269, allocations: 12 kB / 0.6461 GB, free: 1.195 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.016e-05/0.1269, allocations: 51.42 kB / 0.6461 GB, free: 1.133 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.766e-05/0.127, allocations: 67.36 kB / 0.6462 GB, free: 1.055 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.127, allocations: 0 / 0.6462 GB, free: 1.055 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001246/0.1272, allocations: 93.75 kB / 0.6463 GB, free: 0.957 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.1272, allocations: 4 kB / 0.6463 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.1272, allocations: 4 kB / 0.6463 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1272, allocations: 48 / 0.6463 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.544e-05/0.1273, allocations: 19.95 kB / 0.6463 GB, free: 0.9297 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1273, allocations: 0 / 0.6463 GB, free: 0.9297 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.513e-05/0.1274, allocations: 16.36 kB / 0.6463 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.1274, allocations: 0 / 0.6463 GB, free: 0.9141 MB / 442.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 8.89e-05/0.1275, allocations: 127 kB / 0.6464 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.1275, allocations: 3.906 kB / 0.6464 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.392e-05/0.1275, allocations: 15.84 kB / 0.6464 GB, free: 0.7656 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1275, allocations: 4 kB / 0.6464 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.1275, allocations: 12.05 kB / 0.6465 GB, free: 0.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1275, allocations: 0 / 0.6465 GB, free: 0.75 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000367/0.1279, allocations: 354.4 kB / 0.6468 GB, free: 356 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1279, allocations: 0 / 0.6468 GB, free: 356 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.635e-05/0.128, allocations: 8 kB / 0.6468 GB, free: 348 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.128, allocations: 0 / 0.6468 GB, free: 348 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.128, allocations: 4 kB / 0.6468 GB, free: 344 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.128, allocations: 3.938 kB / 0.6468 GB, free: 340 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.128, allocations: 0 / 0.6468 GB, free: 340 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000401/0.1284, allocations: 0.7512 MB / 0.6475 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.109e-05/0.1284, allocations: 84.95 kB / 0.6476 GB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.1285, allocations: 11.98 kB / 0.6476 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.867e-05/0.1286, allocations: 0 / 0.6476 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.1286, allocations: 7.984 kB / 0.6476 GB, free: 15.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.1286, allocations: 8 kB / 0.6477 GB, free: 15.39 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.885e-05/0.1287, allocations: 87.27 kB / 0.6477 GB, free: 15.31 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1287, allocations: 0 / 0.6477 GB, free: 15.31 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003184/0.129, allocations: 16 kB / 0.6478 GB, free: 15.29 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 8.393e-05/0.1291, allocations: 97.22 kB / 0.6478 GB, free: 15.19 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000114/0.1292, allocations: 51.92 kB / 0.6479 GB, free: 15.14 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1292, allocations: 0 / 0.6479 GB, free: 15.14 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.923e-05/0.1293, allocations: 32.05 kB / 0.6479 GB, free: 15.11 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.1295, allocations: 19.98 kB / 0.6479 GB, free: 15.09 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004336/0.13, allocations: 290.1 kB / 0.6482 GB, free: 14.76 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.1302, allocations: 0.6926 MB / 0.6489 GB, free: 14.04 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.76e-05/0.1302, allocations: 7.984 kB / 0.6489 GB, free: 14.03 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.493e-05/0.1303, allocations: 11.44 kB / 0.6489 GB, free: 14.02 MB / 458.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1303, allocations: 0 / 0.6489 GB, free: 14.02 MB / 458.7 MB Notification: Performance of Templates: time 0.002385/0.1327, allocations: 0.716 MB / 0.6496 GB, free: 13.31 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.makefile (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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)