Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 183.2 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.7173/0.7173, allocations: 133.3 MB / 150.1 MB, free: 11.2 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.327/1.327, 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.0009782/0.0009782, allocations: 103.4 kB / 485.9 MB, free: 7.207 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009924/0.0009925, allocations: 47.92 kB / 0.5636 GB, free: 69.96 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1177, allocations: 80.43 MB / 0.6421 GB, free: 5.461 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002465/0.1202, allocations: 1.533 MB / 0.6436 GB, free: 3.91 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006407/0.1209, allocations: 439 kB / 0.6441 GB, free: 3.477 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.814e-05/0.1209, allocations: 0 / 0.6441 GB, free: 3.477 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.111e-05/0.121, allocations: 0 / 0.6441 GB, free: 3.477 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.1211, allocations: 11.92 kB / 0.6441 GB, free: 3.465 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.1212, allocations: 19.98 kB / 0.6441 GB, free: 3.445 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.55e-05/0.1213, allocations: 51.78 kB / 0.6441 GB, free: 3.395 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.1214, allocations: 16 kB / 0.6441 GB, free: 3.379 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.141e-05/0.1215, allocations: 19.92 kB / 0.6442 GB, free: 3.359 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.73e-05/0.1216, allocations: 19.92 kB / 0.6442 GB, free: 3.34 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.1216, allocations: 3.984 kB / 0.6442 GB, free: 3.336 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.476e-05/0.1216, allocations: 4 kB / 0.6442 GB, free: 3.332 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.42e-05/0.1216, allocations: 11.98 kB / 0.6442 GB, free: 3.32 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.512e-05/0.1217, allocations: 19.86 kB / 0.6442 GB, free: 3.301 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.719e-05/0.1218, allocations: 35.89 kB / 0.6443 GB, free: 3.266 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1218, allocations: 0 / 0.6443 GB, free: 3.266 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.1218, allocations: 0 / 0.6443 GB, free: 3.266 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.1218, allocations: 0 / 0.6443 GB, free: 3.266 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.0005035/0.1223, allocations: 365.8 kB / 0.6446 GB, free: 2.863 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.1224, allocations: 12.03 kB / 0.6446 GB, free: 2.852 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.1224, allocations: 4.938 kB / 0.6446 GB, free: 2.848 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.1225, allocations: 180.2 kB / 0.6448 GB, free: 2.633 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.1225, allocations: 4.375 kB / 0.6448 GB, free: 2.629 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.1226, allocations: 4.375 kB / 0.6448 GB, free: 2.625 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.858e-05/0.1227, allocations: 57.94 kB / 0.6449 GB, free: 2.562 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.1227, allocations: 0 / 0.6449 GB, free: 2.562 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1227, allocations: 15.92 kB / 0.6449 GB, free: 2.547 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1227, allocations: 4 kB / 0.6449 GB, free: 2.543 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.105e-05/0.1228, allocations: 23.92 kB / 0.6449 GB, free: 2.52 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004417/0.1232, allocations: 296.8 kB / 0.6452 GB, free: 2.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.559e-05/0.1233, allocations: 62.66 kB / 0.6452 GB, free: 2.109 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.249e-05/0.1234, allocations: 24.88 kB / 0.6453 GB, free: 2.082 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.1234, allocations: 0 / 0.6453 GB, free: 2.082 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.1235, allocations: 71.39 kB / 0.6453 GB, free: 2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.1236, allocations: 4 kB / 0.6453 GB, free: 1.996 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002047/0.1238, allocations: 101.5 kB / 0.6454 GB, free: 1.891 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.1238, allocations: 51.41 kB / 0.6455 GB, free: 1.828 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.185e-05/0.1239, allocations: 117.8 kB / 0.6456 GB, free: 1.703 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.1239, allocations: 25.7 kB / 0.6456 GB, free: 1.672 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.124, allocations: 92.05 kB / 0.6457 GB, free: 1.578 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.124, allocations: 19.73 kB / 0.6457 GB, free: 1.559 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.124, allocations: 33.66 kB / 0.6458 GB, free: 1.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1242, allocations: 318.8 kB / 0.6461 GB, free: 1.199 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.336e-05/0.1242, allocations: 12 kB / 0.6461 GB, free: 1.188 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.416e-05/0.1243, allocations: 55.36 kB / 0.6461 GB, free: 1.121 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.84e-05/0.1243, allocations: 67.36 kB / 0.6462 GB, free: 1.043 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1244, allocations: 0 / 0.6462 GB, free: 1.043 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001323/0.1245, allocations: 97.52 kB / 0.6463 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1245, allocations: 4.375 kB / 0.6463 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1245, allocations: 4 kB / 0.6463 GB, free: 0.9336 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1245, allocations: 32 / 0.6463 GB, free: 0.9336 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.963e-05/0.1246, allocations: 15.94 kB / 0.6463 GB, free: 0.918 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.1246, allocations: 3.938 kB / 0.6463 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.156e-05/0.1247, allocations: 7.984 kB / 0.6463 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.1247, allocations: 4 kB / 0.6463 GB, free: 0.9023 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.211e-05/0.1248, allocations: 135 kB / 0.6465 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/0.1248, allocations: 3.906 kB / 0.6465 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.254e-05/0.1248, allocations: 7.969 kB / 0.6465 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1248, allocations: 7.984 kB / 0.6465 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1249, allocations: 4 kB / 0.6465 GB, free: 0.7422 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1249, allocations: 0 / 0.6465 GB, free: 0.7422 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000371/0.1252, allocations: 354.4 kB / 0.6468 GB, free: 348 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1253, allocations: 0 / 0.6468 GB, free: 348 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.672e-05/0.1253, allocations: 7.938 kB / 0.6468 GB, free: 340 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1253, allocations: 0 / 0.6468 GB, free: 340 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.1253, allocations: 4 kB / 0.6468 GB, free: 336 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1253, allocations: 3.938 kB / 0.6468 GB, free: 332 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.1253, allocations: 12.05 kB / 0.6468 GB, free: 320 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003927/0.1257, allocations: 0.7434 MB / 0.6476 GB, free: 15.51 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.164e-05/0.1258, allocations: 89.22 kB / 0.6476 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.1258, allocations: 0 / 0.6476 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.862e-05/0.1259, allocations: 4 kB / 0.6477 GB, free: 15.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.1259, allocations: 15.92 kB / 0.6477 GB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/0.1259, allocations: 11.98 kB / 0.6477 GB, free: 15.38 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.382e-05/0.126, allocations: 83.27 kB / 0.6478 GB, free: 15.29 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.126, allocations: 0 / 0.6478 GB, free: 15.29 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003239/0.1263, allocations: 16 kB / 0.6478 GB, free: 15.28 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.331e-05/0.1264, allocations: 95.25 kB / 0.6479 GB, free: 15.17 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001187/0.1265, allocations: 56.05 kB / 0.6479 GB, free: 15.12 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1265, allocations: 0 / 0.6479 GB, free: 15.12 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.946e-05/0.1266, allocations: 27.98 kB / 0.6479 GB, free: 15.09 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.1269, allocations: 23.92 kB / 0.648 GB, free: 15.07 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000356/0.1272, allocations: 270.1 kB / 0.6482 GB, free: 14.76 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.1275, allocations: 0.6887 MB / 0.6489 GB, free: 14.04 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.116e-05/0.1275, allocations: 11.98 kB / 0.6489 GB, free: 14.03 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.608e-05/0.1275, allocations: 11.44 kB / 0.6489 GB, free: 14.02 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1275, allocations: 0 / 0.6489 GB, free: 14.02 MB / 458.7 MB Notification: Performance of Templates: time 0.002428/0.13, allocations: 0.7062 MB / 0.6496 GB, free: 13.32 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)