Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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: "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart",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.001555/0.001555, allocations: 180.9 kB / 7.651 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.7483/0.7483, allocations: 133.6 MB / 141.6 MB, free: 2.898 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.463/1.463, allocations: 221.5 MB / 395.5 MB, free: 10.78 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.0008483/0.0008482, allocations: 106.3 kB / 478.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.202e-05/2.205e-05, allocations: 0 / 0.5535 GB, free: 8.988 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5232/0.5232, allocations: 82.31 MB / 0.6339 GB, free: 40.81 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1501/0.6734, allocations: 111.3 MB / 0.7426 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000203/0.6736, allocations: 75.95 kB / 0.7427 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003874/0.6775, allocations: 1.4 MB / 0.7441 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6775, allocations: 0 / 0.7441 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.804e-06/0.6775, allocations: 4 kB / 0.7441 GB, free: 9.906 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.0004678/0.678, allocations: 346.4 kB / 0.7444 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.6781, allocations: 12.03 kB / 0.7444 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.6781, allocations: 7.906 kB / 0.7444 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.6783, allocations: 171 kB / 0.7446 GB, free: 9.297 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.6783, allocations: 4 kB / 0.7446 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.6783, allocations: 0 / 0.7446 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.954e-05/0.6784, allocations: 27.94 kB / 0.7446 GB, free: 9.266 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.913e-05/0.6785, allocations: 49.62 kB / 0.7447 GB, free: 9.211 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.6785, allocations: 0 / 0.7447 GB, free: 9.211 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.6785, allocations: 3.984 kB / 0.7447 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/0.6785, allocations: 0 / 0.7447 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004825/0.679, allocations: 281.3 kB / 0.7449 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.639e-05/0.6791, allocations: 42.58 kB / 0.745 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.247e-05/0.6792, allocations: 25.08 kB / 0.745 GB, free: 8.816 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.6792, allocations: 3.984 kB / 0.745 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001292/0.6794, allocations: 75.42 kB / 0.7451 GB, free: 8.727 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.6794, allocations: 0 / 0.7451 GB, free: 8.727 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0001904/0.6796, allocations: 77.58 kB / 0.7451 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.6796, allocations: 55.41 kB / 0.7452 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.112e-05/0.6797, allocations: 96.98 kB / 0.7453 GB, free: 8.477 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.6797, allocations: 29.64 kB / 0.7453 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.572e-05/0.6798, allocations: 99.97 kB / 0.7454 GB, free: 8.34 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.6798, allocations: 23.75 kB / 0.7454 GB, free: 8.316 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.6798, allocations: 0 / 0.7454 GB, free: 8.316 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.68, allocations: 318.8 kB / 0.7457 GB, free: 7.996 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.179e-05/0.68, allocations: 16 kB / 0.7458 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.298e-05/0.6801, allocations: 39.38 kB / 0.7458 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.139e-05/0.6801, allocations: 23.98 kB / 0.7458 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6801, allocations: 4 kB / 0.7458 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000123/0.6803, allocations: 77.53 kB / 0.7459 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.6803, allocations: 5.875 kB / 0.7459 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.6803, allocations: 7.984 kB / 0.7459 GB, free: 7.809 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.6803, allocations: 0 / 0.7459 GB, free: 7.809 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.675e-05/0.6804, allocations: 15.94 kB / 0.7459 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.6804, allocations: 64 / 0.7459 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.636e-05/0.6805, allocations: 15.98 kB / 0.7459 GB, free: 7.777 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.6805, allocations: 4 kB / 0.7459 GB, free: 7.773 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 8.331e-05/0.6806, allocations: 109.6 kB / 0.746 GB, free: 7.66 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001072/0.6807, allocations: 85.56 kB / 0.7461 GB, free: 7.57 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.904e-06/0.6807, allocations: 0 / 0.7461 GB, free: 7.57 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.6808, allocations: 8.406 kB / 0.7461 GB, free: 7.559 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.6808, allocations: 4 kB / 0.7461 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.6808, allocations: 0 / 0.7461 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.6808, allocations: 7.938 kB / 0.7461 GB, free: 7.547 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/0.6811, allocations: 331 kB / 0.7465 GB, free: 7.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.6812, allocations: 0 / 0.7465 GB, free: 7.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.603e-05/0.6812, allocations: 4 kB / 0.7465 GB, free: 7.176 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.6812, allocations: 3.984 kB / 0.7465 GB, free: 7.172 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.6812, allocations: 0 / 0.7465 GB, free: 7.172 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.6812, allocations: 3.938 kB / 0.7465 GB, free: 7.168 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.6812, allocations: 3.953 kB / 0.7465 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.6814, allocations: 175.5 kB / 0.7466 GB, free: 6.977 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/0.6814, allocations: 85 kB / 0.7467 GB, free: 6.875 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.6814, allocations: 0 / 0.7467 GB, free: 6.875 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.064e-05/0.6815, allocations: 8 kB / 0.7467 GB, free: 6.867 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.6816, allocations: 15.88 kB / 0.7467 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.6816, allocations: 0 / 0.7467 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.533e-05/0.6816, allocations: 87.55 kB / 0.7468 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6817, allocations: 0 / 0.7468 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002138/0.6819, allocations: 12 kB / 0.7468 GB, free: 6.754 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.0004035/0.6823, allocations: 0.7088 MB / 0.7475 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001151/0.6824, allocations: 48.03 kB / 0.7476 GB, free: 5.973 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6824, allocations: 0 / 0.7476 GB, free: 5.973 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.389e-05/0.6825, allocations: 20 kB / 0.7476 GB, free: 5.953 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.6827, allocations: 12.14 kB / 0.7476 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003822/0.6831, allocations: 129.4 kB / 0.7477 GB, free: 5.777 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.6833, allocations: 0.6943 MB / 0.7484 GB, free: 5.059 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.748e-05/0.6834, allocations: 7.984 kB / 0.7484 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.412e-05/0.6834, allocations: 15.44 kB / 0.7484 GB, free: 5.039 MB / 0.5261 GB Notification: Performance of SimCode: time 2.8e-07/0.6834, allocations: 0 / 0.7484 GB, free: 5.039 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02051/0.704, allocations: 1.166 MB / 0.7496 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/0.7042, allocations: 138 kB / 0.7497 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.449/2.154, allocations: 1.688 kB / 0.7497 GB, free: 3.695 MB / 0.5261 GB (rm -f IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)