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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.452/2.452, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.038/1.038, allocations: 132.2 MB / 423.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006892/0.0006894, allocations: 8 kB / 0.5033 GB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7682/0.7689, allocations: 81.58 MB / 0.583 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002838/0.7719, allocations: 1.111 MB / 0.584 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.7732, allocations: 455 kB / 0.5845 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.144e-05/0.7734, allocations: 1 kB / 0.5845 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.7735, allocations: 6.938 kB / 0.5845 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.7736, allocations: 9.531 kB / 0.5845 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.775, allocations: 189.9 kB / 0.5847 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003633/0.7754, allocations: 85.97 kB / 0.5848 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.302e-05/0.7755, allocations: 4.266 kB / 0.5848 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.7757, allocations: 56.73 kB / 0.5848 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.7759, allocations: 46.67 kB / 0.5849 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.014e-05/0.7759, allocations: 6.281 kB / 0.5849 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006013/0.7765, allocations: 136.3 kB / 0.585 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.7767, allocations: 31.02 kB / 0.585 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.7768, allocations: 44.31 kB / 0.5851 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00055/0.7774, allocations: 158 kB / 0.5852 GB, free: 2.594 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.7774, allocations: 0.9688 kB / 0.5852 GB, free: 2.594 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.7774, allocations: 4 kB / 0.5852 GB, free: 2.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.7774, allocations: 0 / 0.5852 GB, free: 2.59 MB / 430.1 MB 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.0009135/0.7784, allocations: 429 kB / 0.5856 GB, free: 2.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.92e-05/0.7784, allocations: 9.25 kB / 0.5856 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.239e-05/0.7785, allocations: 37.39 kB / 0.5857 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.402e-05/0.7786, allocations: 15.88 kB / 0.5857 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.7789, allocations: 201.9 kB / 0.5859 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.7789, allocations: 13.78 kB / 0.5859 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/0.7789, allocations: 8.75 kB / 0.5859 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.7792, allocations: 83.89 kB / 0.586 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.7792, allocations: 0.7031 kB / 0.586 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.7792, allocations: 4.719 kB / 0.586 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.7792, allocations: 1.188 kB / 0.586 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.7793, allocations: 40.47 kB / 0.586 GB, free: 1.832 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.7797, allocations: 228.6 kB / 0.5863 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.7798, allocations: 78.95 kB / 0.5863 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.7798, allocations: 0.625 kB / 0.5863 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002816/0.7801, allocations: 110.5 kB / 0.5864 GB, free: 1.465 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.7801, allocations: 4 kB / 0.5864 GB, free: 1.461 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005354/0.7807, allocations: 346.3 kB / 0.5868 GB, free: 1.195 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.423e-05/0.7808, allocations: 92.05 kB / 0.5869 GB, free: 1.094 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.7809, allocations: 152.4 kB / 0.587 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/0.781, allocations: 35.56 kB / 0.587 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.366e-05/0.7811, allocations: 99.98 kB / 0.5871 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.841e-05/0.7811, allocations: 41.02 kB / 0.5872 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/0.7812, allocations: 0 / 0.5872 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.7813, allocations: 331.1 kB / 0.5875 GB, free: 500 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.199e-05/0.7814, allocations: 41.73 kB / 0.5875 GB, free: 484 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002843/0.7817, allocations: 193.1 kB / 0.5877 GB, free: 312 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.7818, allocations: 58.81 kB / 0.5878 GB, free: 288 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.7818, allocations: 0.8125 kB / 0.5878 GB, free: 288 kB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000299/0.7821, allocations: 165.8 kB / 0.5879 GB, free: 208 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.7821, allocations: 7.312 kB / 0.5879 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.413e-05/0.7822, allocations: 3.906 kB / 0.5879 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.7822, allocations: 5.141 kB / 0.5879 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.7823, allocations: 12.17 kB / 0.588 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.7824, allocations: 1.688 kB / 0.588 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004181/0.7828, allocations: 95.62 kB / 0.588 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.7828, allocations: 7.609 kB / 0.5881 GB, free: 176 kB / 430.1 MB 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.0001483/0.783, allocations: 130.1 kB / 0.5882 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.783, allocations: 13.39 kB / 0.5882 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.906e-05/0.783, allocations: 17.59 kB / 0.5882 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.7831, allocations: 1.75 kB / 0.5882 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.7831, allocations: 1.312 kB / 0.5882 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.7831, allocations: 2.031 kB / 0.5882 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.7834, allocations: 200.1 kB / 0.5884 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.7834, allocations: 1.703 kB / 0.5884 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.537e-05/0.7835, allocations: 5.844 kB / 0.5884 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.7835, allocations: 5.219 kB / 0.5884 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.7835, allocations: 3.172 kB / 0.5884 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.7835, allocations: 0.75 kB / 0.5884 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.7835, allocations: 5.094 kB / 0.5884 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003878/0.7839, allocations: 194.3 kB / 0.5886 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.492e-05/0.784, allocations: 84.06 kB / 0.5887 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.784, allocations: 6.625 kB / 0.5887 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.593e-05/0.7841, allocations: 5.062 kB / 0.5887 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.326e-05/0.7842, allocations: 9.062 kB / 0.5887 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.7842, allocations: 7.047 kB / 0.5887 GB, free: 15.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.7843, allocations: 115.2 kB / 0.5888 GB, free: 15.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7843, allocations: 0 / 0.5888 GB, free: 15.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005711/0.7849, allocations: 75.67 kB / 0.5889 GB, free: 15.46 MB / 446.1 MB 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.001116/0.786, allocations: 0.8582 MB / 0.5897 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003876/0.7864, allocations: 165 kB / 0.5899 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.7865, allocations: 0 / 0.5899 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.597e-05/0.7866, allocations: 46.92 kB / 0.5899 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/0.7867, allocations: 11.41 kB / 0.5899 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.7885, allocations: 0.9504 MB / 0.5909 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/0.7889, allocations: 0.7055 MB / 0.5916 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.509e-05/0.7889, allocations: 8.812 kB / 0.5916 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.584e-05/0.789, allocations: 31.56 kB / 0.5916 GB, free: 13.21 MB / 446.1 MB Notification: Performance of SimCode: time 9.91e-07/0.789, allocations: 0 / 0.5916 GB, free: 13.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.8079, allocations: 3.597 MB / 0.5951 GB, free: 12.71 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/0.8082, allocations: 179 kB / 0.5953 GB, free: 12.47 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.781/3.59, allocations: 0 / 0.5953 GB, free: 12.47 MB / 446.1 MB (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) Environment - environmentSimulation: