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.001138/0.001138, allocations: 171.8 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8002/0.8002, allocations: 133.6 MB / 141.6 MB, free: 2.922 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 221.5 MB / 395.5 MB, free: 10.77 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000851/0.0008511, allocations: 97.81 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.685e-05/1.706e-05, allocations: 4 kB / 0.5535 GB, free: 9.055 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4421/0.4421, allocations: 82.3 MB / 0.6338 GB, free: 40.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1571/0.5993, allocations: 111.3 MB / 0.7425 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/0.5997, allocations: 75.95 kB / 0.7426 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005881/0.6056, allocations: 1.388 MB / 0.744 GB, free: 10 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.698e-06/0.6057, allocations: 4 kB / 0.744 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.6057, allocations: 0 / 0.744 GB, free: 9.996 MB / 0.5261 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.0006126/0.6063, allocations: 342.4 kB / 0.7443 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.147e-05/0.6064, allocations: 12.03 kB / 0.7443 GB, free: 9.605 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.6065, allocations: 4 kB / 0.7443 GB, free: 9.602 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.6067, allocations: 182.8 kB / 0.7445 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.6067, allocations: 4 kB / 0.7445 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.6067, allocations: 4 kB / 0.7445 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001088/0.6069, allocations: 24 kB / 0.7445 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.607, allocations: 45.69 kB / 0.7446 GB, free: 9.301 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.607, allocations: 0 / 0.7446 GB, free: 9.301 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.6071, allocations: 3.984 kB / 0.7446 GB, free: 9.297 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.6071, allocations: 0 / 0.7446 GB, free: 9.297 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006905/0.6078, allocations: 281.3 kB / 0.7448 GB, free: 8.984 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.6079, allocations: 42.58 kB / 0.7449 GB, free: 8.934 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.954e-05/0.608, allocations: 25.08 kB / 0.7449 GB, free: 8.906 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.608, allocations: 3.984 kB / 0.7449 GB, free: 8.902 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002041/0.6083, allocations: 71.44 kB / 0.745 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.813e-06/0.6083, allocations: 0 / 0.745 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0002859/0.6086, allocations: 81.52 kB / 0.745 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.6086, allocations: 51.5 kB / 0.7451 GB, free: 8.672 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.6088, allocations: 104.9 kB / 0.7452 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.6088, allocations: 25.7 kB / 0.7452 GB, free: 8.531 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.307e-05/0.6089, allocations: 96.03 kB / 0.7453 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.6089, allocations: 23.69 kB / 0.7453 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.6089, allocations: 0 / 0.7453 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.6091, allocations: 322.8 kB / 0.7456 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.615e-05/0.6092, allocations: 12 kB / 0.7457 GB, free: 8.074 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.885e-05/0.6093, allocations: 43.38 kB / 0.7457 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.223e-05/0.6094, allocations: 19.98 kB / 0.7457 GB, free: 8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.6094, allocations: 0 / 0.7457 GB, free: 8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002083/0.6096, allocations: 85.53 kB / 0.7458 GB, free: 7.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.6096, allocations: 4 kB / 0.7458 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.6096, allocations: 3.984 kB / 0.7458 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.6097, allocations: 4 kB / 0.7458 GB, free: 7.898 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.6098, allocations: 11.94 kB / 0.7458 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.6098, allocations: 0 / 0.7458 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.6099, allocations: 15.98 kB / 0.7458 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.6099, allocations: 4 kB / 0.7458 GB, free: 7.867 MB / 0.5261 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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001192/0.6101, allocations: 110.5 kB / 0.7459 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.6101, allocations: 7.906 kB / 0.7459 GB, free: 7.746 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.74e-05/0.6102, allocations: 8.406 kB / 0.746 GB, free: 7.734 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.6102, allocations: 0 / 0.746 GB, free: 7.734 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.6102, allocations: 4 kB / 0.746 GB, free: 7.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.6102, allocations: 3.938 kB / 0.746 GB, free: 7.727 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005329/0.6107, allocations: 331 kB / 0.7463 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.6108, allocations: 0 / 0.7463 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.144e-05/0.6108, allocations: 8.062 kB / 0.7463 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.6108, allocations: 0 / 0.7463 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.6108, allocations: 4 kB / 0.7463 GB, free: 7.348 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.6109, allocations: 3.984 kB / 0.7463 GB, free: 7.344 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6109, allocations: 0 / 0.7463 GB, free: 7.344 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.6111, allocations: 183.4 kB / 0.7465 GB, free: 7.148 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.267e-05/0.6112, allocations: 81.11 kB / 0.7465 GB, free: 7.051 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.6112, allocations: 4 kB / 0.7465 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.6114, allocations: 11.92 kB / 0.7466 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/0.6115, allocations: 11.98 kB / 0.7466 GB, free: 7.023 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.6115, allocations: 0 / 0.7466 GB, free: 7.023 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.832e-05/0.6115, allocations: 83.56 kB / 0.7467 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6116, allocations: 0 / 0.7467 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004071/0.612, allocations: 12 kB / 0.7467 GB, free: 6.93 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001572/0.6121, allocations: 107.3 kB / 0.7468 GB, free: 6.816 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001708/0.6123, allocations: 47.92 kB / 0.7468 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6123, allocations: 0 / 0.7468 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.877e-05/0.6124, allocations: 23.94 kB / 0.7468 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.6127, allocations: 11.94 kB / 0.7468 GB, free: 6.734 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.6131, allocations: 87.86 kB / 0.7469 GB, free: 6.625 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.6135, allocations: 0.6924 MB / 0.7476 GB, free: 5.906 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.944e-05/0.6136, allocations: 4 kB / 0.7476 GB, free: 5.902 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.017e-05/0.6136, allocations: 11.44 kB / 0.7476 GB, free: 5.895 MB / 0.5261 GB Notification: Performance of SimCode: time 3.81e-07/0.6136, allocations: 0 / 0.7476 GB, free: 5.895 MB / 0.5261 GB Notification: Performance of Templates: time 0.003888/0.6175, allocations: 0.6258 MB / 0.7482 GB, free: 5.273 MB / 0.5261 GB 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)