Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.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.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",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.001339/0.001339, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7511/0.7511, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.752/1.752, allocations: 221.3 MB / 400.4 MB, free: 5.875 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009698/0.0009705, allocations: 95.83 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.745e-05/3.747e-05, allocations: 2.594 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1854, allocations: 82.29 MB / 0.6405 GB, free: 7.758 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6895/0.8749, allocations: 111.6 MB / 0.7495 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001936/0.8751, allocations: 76.86 kB / 0.7496 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01058/0.8857, allocations: 3.96 MB / 0.7535 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8858, allocations: 0 / 0.7535 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.8858, allocations: 3.875 kB / 0.7535 GB, free: 27.52 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005857/0.8864, allocations: 428.3 kB / 0.7539 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.8865, allocations: 7.781 kB / 0.7539 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.127e-05/0.8865, allocations: 41.44 kB / 0.7539 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.514e-05/0.8866, allocations: 11.59 kB / 0.7539 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.8869, allocations: 215.6 kB / 0.7541 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.8869, allocations: 9.578 kB / 0.7542 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.8869, allocations: 11.5 kB / 0.7542 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.8871, allocations: 92.94 kB / 0.7543 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.8871, allocations: 3.984 kB / 0.7543 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.8872, allocations: 0 / 0.7543 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.8872, allocations: 0 / 0.7543 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.993e-05/0.8873, allocations: 45.8 kB / 0.7543 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002457/0.8875, allocations: 238 kB / 0.7545 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.8876, allocations: 87.06 kB / 0.7546 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.221e-05/0.8877, allocations: 56.28 kB / 0.7547 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.8877, allocations: 0 / 0.7547 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.8879, allocations: 113.5 kB / 0.7548 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.8879, allocations: 0 / 0.7548 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.0003557/0.8883, allocations: 170.6 kB / 0.7549 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/0.8884, allocations: 92.03 kB / 0.755 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.8885, allocations: 138.9 kB / 0.7552 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.446e-05/0.8886, allocations: 37.02 kB / 0.7552 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.438e-05/0.8887, allocations: 98 kB / 0.7553 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.378e-05/0.8887, allocations: 37.61 kB / 0.7553 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.595e-06/0.8887, allocations: 7.312 kB / 0.7553 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.8889, allocations: 321.2 kB / 0.7556 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.737e-05/0.889, allocations: 46.77 kB / 0.7557 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.8892, allocations: 212.4 kB / 0.7559 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.8893, allocations: 68.86 kB / 0.7559 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.8894, allocations: 0 / 0.7559 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002468/0.8896, allocations: 168.5 kB / 0.7561 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.8896, allocations: 7.438 kB / 0.7561 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.872e-05/0.8897, allocations: 3.781 kB / 0.7561 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.8897, allocations: 4 kB / 0.7561 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.417e-05/0.8898, allocations: 18.06 kB / 0.7561 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.8898, allocations: 4.859 kB / 0.7561 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.8901, allocations: 91.95 kB / 0.7562 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.8901, allocations: 6.016 kB / 0.7562 GB, free: 25.54 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001084/0.8902, allocations: 118.6 kB / 0.7563 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.8903, allocations: 11.31 kB / 0.7564 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.648e-05/0.8903, allocations: 21.38 kB / 0.7564 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.8903, allocations: 0 / 0.7564 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.8903, allocations: 3.953 kB / 0.7564 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.8903, allocations: 0 / 0.7564 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.8905, allocations: 196.4 kB / 0.7566 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.8905, allocations: 0 / 0.7566 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-05/0.8905, allocations: 14.77 kB / 0.7566 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.8906, allocations: 96 / 0.7566 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.8906, allocations: 3.984 kB / 0.7566 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.8906, allocations: 3.781 kB / 0.7566 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.8906, allocations: 0 / 0.7566 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.8908, allocations: 211.9 kB / 0.7568 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/0.8909, allocations: 84.86 kB / 0.7569 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.8909, allocations: 6.484 kB / 0.7569 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.174e-05/0.891, allocations: 7.5 kB / 0.7569 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.891, allocations: 9.906 kB / 0.7569 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.891, allocations: 11.41 kB / 0.7569 GB, free: 25 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.628e-05/0.8911, allocations: 113.5 kB / 0.757 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8911, allocations: 0 / 0.757 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003924/0.8915, allocations: 83.03 kB / 0.7571 GB, free: 24.91 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007235/0.8923, allocations: 0.8763 MB / 0.758 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000263/0.8925, allocations: 154.9 kB / 0.7581 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.8926, allocations: 0 / 0.7581 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.754e-05/0.8926, allocations: 48.53 kB / 0.7581 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.8928, allocations: 9.406 kB / 0.7582 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.8933, allocations: 245.1 kB / 0.7584 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.8936, allocations: 0.7079 MB / 0.7591 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.839e-05/0.8937, allocations: 11.31 kB / 0.7591 GB, free: 23.26 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.147e-05/0.8937, allocations: 28.42 kB / 0.7591 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of SimCode: time 2.2e-07/0.8937, allocations: 0 / 0.7591 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01495/0.9087, allocations: 3.583 MB / 0.7626 GB, free: 21.67 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/0.9089, allocations: 151 kB / 0.7628 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/2.554, allocations: 0 / 0.7628 GB, free: 21.45 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule.fmu > IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)