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: "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IDEAS_dev_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.000964/0.0009639, allocations: 173.9 kB / 7.648 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.801/0.801, allocations: 133.6 MB / 141.6 MB, free: 2.93 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.488/1.488, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.0008865/0.0008867, allocations: 99.86 kB / 478.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.08e-05/2.082e-05, allocations: 0 / 0.5535 GB, free: 8.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5649/0.565, allocations: 82.3 MB / 0.6339 GB, free: 40.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1542/0.7193, allocations: 111.3 MB / 0.7426 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.7196, allocations: 71.95 kB / 0.7427 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003921/0.7235, allocations: 1.392 MB / 0.7441 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7236, allocations: 0 / 0.7441 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.7236, allocations: 0 / 0.7441 GB, free: 9.918 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.0004236/0.724, allocations: 354.4 kB / 0.7444 GB, free: 9.527 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.7241, allocations: 8.031 kB / 0.7444 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.7241, allocations: 7.906 kB / 0.7444 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.7243, allocations: 171 kB / 0.7446 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.7243, allocations: 4 kB / 0.7446 GB, free: 9.301 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.7243, allocations: 4 kB / 0.7446 GB, free: 9.297 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.181e-05/0.7244, allocations: 27.91 kB / 0.7446 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.098e-05/0.7245, allocations: 53.62 kB / 0.7447 GB, free: 9.211 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.7245, allocations: 0 / 0.7447 GB, free: 9.211 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.7245, allocations: 4 kB / 0.7447 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.7246, allocations: 0 / 0.7447 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000464/0.725, allocations: 281.3 kB / 0.7449 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.679e-05/0.7251, allocations: 50.56 kB / 0.745 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.093e-05/0.7252, allocations: 25.08 kB / 0.745 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.7252, allocations: 0 / 0.745 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001381/0.7253, allocations: 75.42 kB / 0.7451 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.7254, allocations: 0 / 0.7451 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0001876/0.7256, allocations: 73.59 kB / 0.7451 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.7256, allocations: 51.41 kB / 0.7452 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.665e-05/0.7257, allocations: 101 kB / 0.7453 GB, free: 8.477 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.7257, allocations: 33.64 kB / 0.7453 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.926e-05/0.7258, allocations: 87.98 kB / 0.7454 GB, free: 8.348 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.7258, allocations: 23.73 kB / 0.7454 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.7258, allocations: 4 kB / 0.7454 GB, free: 8.32 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.7259, allocations: 322.8 kB / 0.7457 GB, free: 7.996 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.989e-05/0.726, allocations: 12 kB / 0.7457 GB, free: 7.984 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.939e-05/0.726, allocations: 47.36 kB / 0.7458 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.442e-05/0.7261, allocations: 12 kB / 0.7458 GB, free: 7.914 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7261, allocations: 0 / 0.7458 GB, free: 7.914 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001264/0.7262, allocations: 89.52 kB / 0.7459 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.7262, allocations: 8 kB / 0.7459 GB, free: 7.812 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.7262, allocations: 0 / 0.7459 GB, free: 7.812 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.7262, allocations: 0 / 0.7459 GB, free: 7.812 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.227e-05/0.7263, allocations: 15.92 kB / 0.7459 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.7263, allocations: 4 kB / 0.7459 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.26e-05/0.7264, allocations: 4.094 kB / 0.7459 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.7264, allocations: 7.938 kB / 0.7459 GB, free: 7.781 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.0001079/0.7265, allocations: 117.6 kB / 0.746 GB, free: 7.66 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001072/0.7266, allocations: 81.52 kB / 0.7461 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-06/0.7267, allocations: 4 kB / 0.7461 GB, free: 7.57 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.571e-05/0.7267, allocations: 8.688 kB / 0.7461 GB, free: 7.559 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.7267, allocations: 0 / 0.7461 GB, free: 7.559 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.7267, allocations: 3.984 kB / 0.7461 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.7267, allocations: 3.953 kB / 0.7461 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003476/0.7271, allocations: 331 kB / 0.7465 GB, free: 7.184 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7271, allocations: 0 / 0.7465 GB, free: 7.184 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.606e-05/0.7271, allocations: 4 kB / 0.7465 GB, free: 7.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.7271, allocations: 0 / 0.7465 GB, free: 7.18 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.7272, allocations: 4 kB / 0.7465 GB, free: 7.176 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.7272, allocations: 3.938 kB / 0.7465 GB, free: 7.172 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.7272, allocations: 3.953 kB / 0.7465 GB, free: 7.168 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.7273, allocations: 175.5 kB / 0.7466 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.43e-05/0.7274, allocations: 85.02 kB / 0.7467 GB, free: 6.879 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.7274, allocations: 0 / 0.7467 GB, free: 6.879 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.39e-05/0.7275, allocations: 8.047 kB / 0.7467 GB, free: 6.871 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.7275, allocations: 23.88 kB / 0.7467 GB, free: 6.848 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.7275, allocations: 4 kB / 0.7468 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.7276, allocations: 79.28 kB / 0.7468 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7276, allocations: 288 / 0.7468 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002159/0.7278, allocations: 8 kB / 0.7468 GB, free: 6.758 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.0003769/0.7282, allocations: 0.7175 MB / 0.7475 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001129/0.7283, allocations: 43.92 kB / 0.7476 GB, free: 5.973 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.7283, allocations: 0 / 0.7476 GB, free: 5.973 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.541e-05/0.7284, allocations: 28 kB / 0.7476 GB, free: 5.945 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.7286, allocations: 9.781 kB / 0.7476 GB, free: 5.938 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003579/0.729, allocations: 125.4 kB / 0.7477 GB, free: 5.777 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.7292, allocations: 0.6885 MB / 0.7484 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.746e-05/0.7293, allocations: 4 kB / 0.7484 GB, free: 5.059 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.7293, allocations: 19.42 kB / 0.7484 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/0.7293, allocations: 0 / 0.7484 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01925/0.7486, allocations: 1.169 MB / 0.7496 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/0.7488, allocations: 142.7 kB / 0.7497 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/2.419, allocations: 0 / 0.7497 GB, free: 3.695 MB / 0.5261 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)