Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_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.009113/0.009112, allocations: 171 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 0.8311/0.8311, 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.915/1.915, allocations: 223.2 MB / 406.8 MB, free: 3.238 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.001191/0.001192, allocations: 104.3 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004351/0.0004354, allocations: 8 kB / 0.5692 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.572/0.5724, allocations: 82.29 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1738/0.7463, allocations: 111.9 MB / 0.7588 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.7466, allocations: 71.97 kB / 0.7589 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00312/0.7498, allocations: 1.151 MB / 0.76 GB, free: 2.816 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7498, allocations: 0 / 0.76 GB, free: 2.816 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.467e-06/0.7498, allocations: 0 / 0.76 GB, free: 2.816 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.000505/0.7503, allocations: 355.9 kB / 0.7604 GB, free: 2.422 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.7504, allocations: 12.03 kB / 0.7604 GB, free: 2.41 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.6e-05/0.7505, allocations: 34.56 kB / 0.7604 GB, free: 2.367 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.7505, allocations: 11.89 kB / 0.7604 GB, free: 2.355 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.7507, allocations: 167 kB / 0.7606 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.7507, allocations: 11.94 kB / 0.7606 GB, free: 2.141 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.7507, allocations: 4 kB / 0.7606 GB, free: 2.137 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.7509, allocations: 57.61 kB / 0.7607 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.7509, allocations: 3.984 kB / 0.7607 GB, free: 2.07 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.7509, allocations: 0 / 0.7607 GB, free: 2.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.7509, allocations: 4 kB / 0.7607 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.701e-05/0.751, allocations: 23.98 kB / 0.7607 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005512/0.7515, allocations: 308.7 kB / 0.761 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.7517, allocations: 54.56 kB / 0.761 GB, free: 1.629 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.7517, allocations: 0 / 0.761 GB, free: 1.629 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/0.7519, allocations: 83.48 kB / 0.7611 GB, free: 1.535 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.7519, allocations: 0 / 0.7611 GB, free: 1.535 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0002573/0.7522, allocations: 97.61 kB / 0.7612 GB, free: 1.434 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.7522, allocations: 63.36 kB / 0.7613 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.955e-05/0.7523, allocations: 100.9 kB / 0.7614 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.7523, allocations: 29.7 kB / 0.7614 GB, free: 1.219 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.7524, allocations: 84.14 kB / 0.7615 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.478e-05/0.7525, allocations: 19.72 kB / 0.7615 GB, free: 1.113 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/0.7525, allocations: 4 kB / 0.7615 GB, free: 1.109 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.7526, allocations: 318.8 kB / 0.7618 GB, free: 0.7891 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.596e-05/0.7527, allocations: 16 kB / 0.7618 GB, free: 0.7734 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.309e-05/0.7527, allocations: 43.42 kB / 0.7619 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.706e-05/0.7528, allocations: 27.92 kB / 0.7619 GB, free: 0.6914 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7528, allocations: 0 / 0.7619 GB, free: 0.6914 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001391/0.7529, allocations: 89.62 kB / 0.762 GB, free: 0.5977 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.753, allocations: 4.938 kB / 0.762 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.753, allocations: 4.359 kB / 0.762 GB, free: 0.5898 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.753, allocations: 4 kB / 0.762 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.795e-05/0.7531, allocations: 16 kB / 0.762 GB, free: 0.5703 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.7531, allocations: 0 / 0.762 GB, free: 0.5703 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.538e-05/0.7532, allocations: 31.72 kB / 0.762 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.7532, allocations: 4 kB / 0.762 GB, free: 0.5352 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 9.887e-05/0.7533, allocations: 117.9 kB / 0.7621 GB, free: 420 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.7533, allocations: 4 kB / 0.7621 GB, free: 416 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.94e-05/0.7534, allocations: 7.969 kB / 0.7622 GB, free: 404 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.7534, allocations: 0 / 0.7622 GB, free: 404 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.7534, allocations: 0 / 0.7622 GB, free: 404 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.7534, allocations: 288 / 0.7622 GB, free: 404 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004373/0.7538, allocations: 362.4 kB / 0.7625 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.7538, allocations: 7.984 kB / 0.7625 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.556e-05/0.7539, allocations: 11.88 kB / 0.7625 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.7539, allocations: 7.984 kB / 0.7625 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.7539, allocations: 4 kB / 0.7625 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.7539, allocations: 0 / 0.7625 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.7539, allocations: 3.953 kB / 0.7625 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.7541, allocations: 179.5 kB / 0.7627 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.7541, allocations: 81.02 kB / 0.7628 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.7542, allocations: 8 kB / 0.7628 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.804e-05/0.7543, allocations: 7.984 kB / 0.7628 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.342e-05/0.7543, allocations: 11.94 kB / 0.7628 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.138e-06/0.7543, allocations: 8 kB / 0.7628 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.98e-05/0.7544, allocations: 79.28 kB / 0.7629 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7544, allocations: 0 / 0.7629 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002165/0.7546, allocations: 12 kB / 0.7629 GB, free: 15.54 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.0004314/0.7551, allocations: 0.7141 MB / 0.7636 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001406/0.7552, allocations: 55.91 kB / 0.7637 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7552, allocations: 0 / 0.7637 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.334e-05/0.7553, allocations: 23.94 kB / 0.7637 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.7555, allocations: 15.98 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.001069/0.7566, allocations: 0.9404 MB / 0.7646 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.7569, allocations: 0.6887 MB / 0.7653 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.257e-05/0.7569, allocations: 4 kB / 0.7653 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.597e-05/0.757, allocations: 23.42 kB / 0.7653 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of SimCode: time 4.238e-06/0.757, allocations: 4 kB / 0.7653 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01336/0.7704, allocations: 1.45 MB / 0.7667 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/0.7706, allocations: 167 kB / 0.7669 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/2.427, allocations: 0 / 0.7669 GB, free: 11.37 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)