Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_dev_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.001183/0.001182, allocations: 174.8 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.7958/0.7958, 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.729/1.729, allocations: 221.3 MB / 400.4 MB, free: 5.809 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.00117/0.00117, allocations: 94.7 kB / 483.3 MB, free: 5.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.593e-05/3.596e-05, allocations: 6.594 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2079, allocations: 82.3 MB / 0.6405 GB, free: 7.734 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6904/0.8984, allocations: 111.7 MB / 0.7495 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.8987, allocations: 71.81 kB / 0.7496 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01075/0.9094, allocations: 3.955 MB / 0.7535 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.148e-06/0.9095, allocations: 0 / 0.7535 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.354e-05/0.9095, allocations: 7.906 kB / 0.7535 GB, free: 27.39 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.0006715/0.9102, allocations: 431.1 kB / 0.7539 GB, free: 27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/0.9102, allocations: 7.812 kB / 0.7539 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.127e-05/0.9103, allocations: 45 kB / 0.7539 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.045e-05/0.9104, allocations: 11.59 kB / 0.7539 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.9107, allocations: 216.3 kB / 0.7542 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.9107, allocations: 7.375 kB / 0.7542 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/0.9108, allocations: 11.53 kB / 0.7542 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.9109, allocations: 93.42 kB / 0.7543 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.911, allocations: 0 / 0.7543 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.911, allocations: 0 / 0.7543 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.911, allocations: 0 / 0.7543 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.008e-05/0.9111, allocations: 49.31 kB / 0.7543 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.9113, allocations: 236 kB / 0.7545 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.9115, allocations: 83.33 kB / 0.7546 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.565e-05/0.9116, allocations: 65.36 kB / 0.7547 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.9116, allocations: 0 / 0.7547 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.9117, allocations: 114.8 kB / 0.7548 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.103e-06/0.9118, allocations: 0 / 0.7548 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.0003043/0.9121, allocations: 157 kB / 0.7549 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.68e-05/0.9121, allocations: 102.8 kB / 0.755 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.9123, allocations: 135.2 kB / 0.7552 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.9123, allocations: 40.92 kB / 0.7552 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.527e-05/0.9124, allocations: 96.62 kB / 0.7553 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/0.9124, allocations: 36.11 kB / 0.7553 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.105e-06/0.9124, allocations: 3.688 kB / 0.7553 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.9126, allocations: 323.1 kB / 0.7556 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.294e-05/0.9127, allocations: 44.69 kB / 0.7557 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.913, allocations: 216.5 kB / 0.7559 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.9131, allocations: 61.66 kB / 0.7559 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.9131, allocations: 3.938 kB / 0.7559 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002465/0.9133, allocations: 163.6 kB / 0.7561 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.9134, allocations: 7.875 kB / 0.7561 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-05/0.9134, allocations: 3.75 kB / 0.7561 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.9134, allocations: 4 kB / 0.7561 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.625e-05/0.9135, allocations: 15.52 kB / 0.7561 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.9135, allocations: 3.188 kB / 0.7561 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/0.9138, allocations: 88.17 kB / 0.7562 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.9138, allocations: 14.33 kB / 0.7562 GB, free: 25.41 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.0001151/0.914, allocations: 116 kB / 0.7563 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.914, allocations: 11.56 kB / 0.7564 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.939e-05/0.914, allocations: 20.02 kB / 0.7564 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.914, allocations: 6.453 kB / 0.7564 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.9141, allocations: 3.953 kB / 0.7564 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.9141, allocations: 0 / 0.7564 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.9142, allocations: 190.3 kB / 0.7566 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.9142, allocations: 5.922 kB / 0.7566 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.41e-05/0.9143, allocations: 14.94 kB / 0.7566 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.9143, allocations: 0 / 0.7566 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.9143, allocations: 0 / 0.7566 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.9143, allocations: 6.641 kB / 0.7566 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.9143, allocations: 0 / 0.7566 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.9146, allocations: 210.2 kB / 0.7568 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.829e-05/0.9146, allocations: 84.86 kB / 0.7569 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.9147, allocations: 8.656 kB / 0.7569 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.937e-05/0.9147, allocations: 0 / 0.7569 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.9148, allocations: 10.14 kB / 0.7569 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.9148, allocations: 19.42 kB / 0.7569 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.649e-05/0.9149, allocations: 114.2 kB / 0.757 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9149, allocations: 0 / 0.757 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003458/0.9152, allocations: 82.64 kB / 0.7571 GB, free: 24.78 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.0007646/0.916, allocations: 0.8778 MB / 0.758 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002519/0.9163, allocations: 157.9 kB / 0.7581 GB, free: 24 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.9163, allocations: 0 / 0.7581 GB, free: 24 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.755e-05/0.9164, allocations: 43.5 kB / 0.7581 GB, free: 24 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.9165, allocations: 7.703 kB / 0.7582 GB, free: 24 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004695/0.917, allocations: 230 kB / 0.7584 GB, free: 23.85 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.9173, allocations: 0.7148 MB / 0.7591 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.219e-05/0.9174, allocations: 14.62 kB / 0.7591 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.298e-05/0.9174, allocations: 27.44 kB / 0.7591 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/0.9174, allocations: 0 / 0.7591 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0155/0.933, allocations: 3.601 MB / 0.7626 GB, free: 21.54 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002342/0.9333, allocations: 147.1 kB / 0.7628 GB, free: 21.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.993/2.926, allocations: 0 / 0.7628 GB, free: 21.32 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)