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: "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009056/0.009056, allocations: 170.2 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.039/1.039, allocations: 135.2 MB / 151 MB, free: 13.84 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.867/1.867, allocations: 223.2 MB / 406.8 MB, free: 3.262 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.001015/0.001015, allocations: 96.22 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004225/0.0004225, allocations: 8 kB / 0.5691 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6084/0.6088, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1694/0.7783, allocations: 111.9 MB / 0.7588 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000377/0.7788, allocations: 71.95 kB / 0.7589 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003958/0.7828, allocations: 1.147 MB / 0.76 GB, free: 2.805 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.695e-06/0.7828, allocations: 0 / 0.76 GB, free: 2.805 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.7829, allocations: 0 / 0.76 GB, free: 2.805 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.0005194/0.7834, allocations: 359.2 kB / 0.7604 GB, free: 2.406 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.7834, allocations: 12.03 kB / 0.7604 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.112e-05/0.7835, allocations: 34.56 kB / 0.7604 GB, free: 2.352 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.7835, allocations: 7.906 kB / 0.7604 GB, free: 2.344 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.7837, allocations: 175 kB / 0.7606 GB, free: 2.133 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.7837, allocations: 0 / 0.7606 GB, free: 2.133 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.7838, allocations: 11.94 kB / 0.7606 GB, free: 2.121 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.7839, allocations: 49.69 kB / 0.7606 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.7839, allocations: 4 kB / 0.7607 GB, free: 2.062 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.7839, allocations: 11.97 kB / 0.7607 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.784, allocations: 0 / 0.7607 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.453e-05/0.784, allocations: 23.98 kB / 0.7607 GB, free: 2.027 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005566/0.7846, allocations: 300.8 kB / 0.761 GB, free: 1.684 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.7847, allocations: 54.56 kB / 0.761 GB, free: 1.621 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.7848, allocations: 4.031 kB / 0.761 GB, free: 1.617 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00023/0.785, allocations: 79.5 kB / 0.7611 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.785, allocations: 3.938 kB / 0.7611 GB, free: 1.523 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0002591/0.7853, allocations: 93.56 kB / 0.7612 GB, free: 1.426 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.303e-05/0.7854, allocations: 67.34 kB / 0.7613 GB, free: 1.348 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.553e-05/0.7855, allocations: 96.91 kB / 0.7614 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.7855, allocations: 33.7 kB / 0.7614 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.7856, allocations: 88.12 kB / 0.7615 GB, free: 1.117 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.7856, allocations: 19.7 kB / 0.7615 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.7856, allocations: 4 kB / 0.7615 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.7858, allocations: 322.8 kB / 0.7618 GB, free: 0.7695 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.305e-05/0.7858, allocations: 12 kB / 0.7618 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.112e-05/0.7859, allocations: 51.36 kB / 0.7619 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.778e-05/0.7859, allocations: 23.94 kB / 0.7619 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7859, allocations: 0 / 0.7619 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001399/0.7861, allocations: 89.61 kB / 0.762 GB, free: 0.5781 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.7861, allocations: 4 kB / 0.762 GB, free: 0.5742 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.7861, allocations: 4 kB / 0.762 GB, free: 0.5703 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.7861, allocations: 0 / 0.762 GB, free: 0.5703 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.816e-05/0.7862, allocations: 15.92 kB / 0.762 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.7862, allocations: 8.031 kB / 0.762 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.994e-05/0.7863, allocations: 15.8 kB / 0.762 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.7863, allocations: 8 kB / 0.762 GB, free: 0.5234 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.7865, allocations: 114.9 kB / 0.7621 GB, free: 412 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.7865, allocations: 7.984 kB / 0.7621 GB, free: 404 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.999e-05/0.7865, allocations: 7.969 kB / 0.7621 GB, free: 392 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.7865, allocations: 64 / 0.7621 GB, free: 392 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.7866, allocations: 8 kB / 0.7622 GB, free: 384 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.7866, allocations: 4 kB / 0.7622 GB, free: 380 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004352/0.787, allocations: 358.4 kB / 0.7625 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.787, allocations: 0.75 kB / 0.7625 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.101e-05/0.7871, allocations: 7.938 kB / 0.7625 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.7871, allocations: 3.938 kB / 0.7625 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.7871, allocations: 3.984 kB / 0.7625 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.7871, allocations: 4 kB / 0.7625 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.7871, allocations: 7.891 kB / 0.7625 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.7873, allocations: 179.5 kB / 0.7627 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.265e-05/0.7873, allocations: 89 kB / 0.7628 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.7874, allocations: 4 kB / 0.7628 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.516e-05/0.7875, allocations: 4 kB / 0.7628 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.7875, allocations: 11.94 kB / 0.7628 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-06/0.7875, allocations: 8 kB / 0.7628 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.529e-05/0.7876, allocations: 87.27 kB / 0.7629 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7876, allocations: 0 / 0.7629 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002149/0.7878, allocations: 12 kB / 0.7629 GB, free: 15.52 MB / 0.5417 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 (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.000518/0.7883, allocations: 0.7056 MB / 0.7636 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001554/0.7885, allocations: 55.92 kB / 0.7636 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7885, allocations: 0 / 0.7636 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.241e-05/0.7886, allocations: 31.92 kB / 0.7637 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.7888, allocations: 4 kB / 0.7637 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.79, allocations: 0.9533 MB / 0.7646 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.7904, allocations: 0.6848 MB / 0.7653 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.255e-05/0.7905, allocations: 11.92 kB / 0.7653 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.583e-05/0.7905, allocations: 15.44 kB / 0.7653 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of SimCode: time 4.21e-07/0.7905, allocations: 0 / 0.7653 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01609/0.8066, allocations: 1.446 MB / 0.7667 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002384/0.8069, allocations: 170.2 kB / 0.7669 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/2.565, allocations: 0 / 0.7669 GB, free: 11.36 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)