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.007446/0.007446, allocations: 170.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7935/0.7935, allocations: 135.2 MB / 151 MB, free: 13.85 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.573/1.573, allocations: 223.2 MB / 406.8 MB, free: 3.207 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.001047/0.001047, allocations: 98.55 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004075/0.0004075, allocations: 12 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5883/0.5888, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.163/0.7518, allocations: 111.7 MB / 0.7586 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/0.7522, allocations: 83.92 kB / 0.7587 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01136/0.7635, allocations: 3.976 MB / 0.7626 GB, free: 220 kB / 0.5261 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7636, allocations: 0 / 0.7626 GB, free: 220 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.7636, allocations: 4 kB / 0.7626 GB, free: 216 kB / 0.5261 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.0006597/0.7643, allocations: 446.8 kB / 0.763 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.7643, allocations: 8.031 kB / 0.763 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.074e-05/0.7644, allocations: 38.56 kB / 0.7631 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.483e-05/0.7645, allocations: 15.81 kB / 0.7631 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.7648, allocations: 206.9 kB / 0.7633 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.7649, allocations: 8 kB / 0.7633 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.7649, allocations: 12 kB / 0.7633 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.7651, allocations: 95.3 kB / 0.7634 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.7651, allocations: 0 / 0.7634 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.7651, allocations: 0 / 0.7634 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.7652, allocations: 0 / 0.7634 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.938e-05/0.7653, allocations: 47.92 kB / 0.7634 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.7656, allocations: 246.4 kB / 0.7637 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.7657, allocations: 89.17 kB / 0.7637 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.7657, allocations: 0 / 0.7637 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002073/0.766, allocations: 117.1 kB / 0.7639 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 1.002e-06/0.766, allocations: 0 / 0.7639 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14): time 0.000507/0.7665, allocations: 359.6 kB / 0.7642 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.074e-05/0.7666, allocations: 85.05 kB / 0.7643 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.7667, allocations: 154.6 kB / 0.7644 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.7668, allocations: 33.7 kB / 0.7645 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.516e-05/0.7668, allocations: 100.6 kB / 0.7646 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.4e-05/0.7669, allocations: 39.53 kB / 0.7646 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-06/0.7669, allocations: 4 kB / 0.7646 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.7671, allocations: 322.8 kB / 0.7649 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.636e-05/0.7672, allocations: 44.16 kB / 0.7649 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.7674, allocations: 217.4 kB / 0.7652 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.7675, allocations: 66.14 kB / 0.7652 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7675, allocations: 3.938 kB / 0.7652 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000246/0.7678, allocations: 165.4 kB / 0.7654 GB, free: 13 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.7678, allocations: 4 kB / 0.7654 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.674e-05/0.7679, allocations: 4 kB / 0.7654 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.7679, allocations: 0 / 0.7654 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.608e-05/0.768, allocations: 15.92 kB / 0.7654 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.768, allocations: 7.953 kB / 0.7654 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.7682, allocations: 83.91 kB / 0.7655 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.7683, allocations: 8 kB / 0.7655 GB, free: 12.88 MB / 0.5417 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 () * Number of clocked 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.0001248/0.7684, allocations: 137.8 kB / 0.7656 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.837e-05/0.7684, allocations: 11.81 kB / 0.7656 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.354e-05/0.7685, allocations: 12.72 kB / 0.7656 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.7685, allocations: 8 kB / 0.7657 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.7685, allocations: 0 / 0.7657 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.7685, allocations: 3.953 kB / 0.7657 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.7687, allocations: 197.5 kB / 0.7658 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.7687, allocations: 0 / 0.7658 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.631e-05/0.7687, allocations: 15.94 kB / 0.7659 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.7687, allocations: 4 kB / 0.7659 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.7688, allocations: 4 kB / 0.7659 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.7688, allocations: 0 / 0.7659 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.7688, allocations: 3.938 kB / 0.7659 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.769, allocations: 204.5 kB / 0.7661 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.198e-05/0.7691, allocations: 92.91 kB / 0.7662 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.7691, allocations: 8 kB / 0.7662 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.025e-05/0.7692, allocations: 0 / 0.7662 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.7692, allocations: 11.94 kB / 0.7662 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.7693, allocations: 7.938 kB / 0.7662 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 8.353e-05/0.7694, allocations: 121.3 kB / 0.7663 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7694, allocations: 0 / 0.7663 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003748/0.7697, allocations: 87.86 kB / 0.7664 GB, free: 11.86 MB / 0.5417 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) * Number of clocked states: 0 () * 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.0007329/0.7705, allocations: 0.8658 MB / 0.7672 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002818/0.7708, allocations: 168.3 kB / 0.7674 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7708, allocations: 0 / 0.7674 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.211e-05/0.7709, allocations: 51.89 kB / 0.7674 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.771, allocations: 8 kB / 0.7674 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.7723, allocations: 0.9614 MB / 0.7684 GB, free: 9.703 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.7726, allocations: 0.7158 MB / 0.7691 GB, free: 8.961 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.027e-05/0.7727, allocations: 12.66 kB / 0.7691 GB, free: 8.949 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.902e-05/0.7727, allocations: 23.44 kB / 0.7691 GB, free: 8.926 MB / 0.5417 GB Notification: Performance of SimCode: time 9.12e-07/0.7728, allocations: 0 / 0.7691 GB, free: 8.926 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01702/0.7898, allocations: 3.568 MB / 0.7726 GB, free: 5.496 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/0.7901, allocations: 169.5 kB / 0.7728 GB, free: 5.258 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/2.513, allocations: 0 / 0.7728 GB, free: 5.258 MB / 0.5417 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)