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.001126/0.001126, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001547/0.001547, allocations: 197.5 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6911/0.6911, allocations: 132.2 MB / 422.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 57.84 kB / 0.5012 GB, free: 9.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1228, allocations: 80.21 MB / 0.5795 GB, free: 9.184 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002388/0.1252, allocations: 1.472 MB / 0.5809 GB, free: 7.699 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008285/0.126, allocations: 0.5217 MB / 0.5814 GB, free: 7.176 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.254e-05/0.1261, allocations: 0 / 0.5814 GB, free: 7.176 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.56e-05/0.1262, allocations: 4 kB / 0.5814 GB, free: 7.172 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.054e-05/0.1262, allocations: 15.92 kB / 0.5815 GB, free: 7.156 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000579/0.1268, allocations: 183.6 kB / 0.5816 GB, free: 6.977 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.127, allocations: 139.8 kB / 0.5818 GB, free: 6.84 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.127, allocations: 11.98 kB / 0.5818 GB, free: 6.828 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.423e-05/0.1271, allocations: 55.83 kB / 0.5818 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.576e-05/0.1272, allocations: 35.91 kB / 0.5819 GB, free: 6.738 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.1272, allocations: 8 kB / 0.5819 GB, free: 6.73 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002248/0.1275, allocations: 159.8 kB / 0.582 GB, free: 6.574 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.214e-05/0.1275, allocations: 35.89 kB / 0.5821 GB, free: 6.539 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.074e-05/0.1276, allocations: 47.73 kB / 0.5821 GB, free: 6.492 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.1279, allocations: 227.7 kB / 0.5823 GB, free: 6.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1279, allocations: 4 kB / 0.5823 GB, free: 6.266 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.1279, allocations: 0 / 0.5823 GB, free: 6.266 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.1279, allocations: 0 / 0.5823 GB, free: 6.266 MB / 494.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.0004801/0.1284, allocations: 447.1 kB / 0.5828 GB, free: 5.777 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.1284, allocations: 8.031 kB / 0.5828 GB, free: 5.77 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.111e-05/0.1285, allocations: 38.73 kB / 0.5828 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.1285, allocations: 12.84 kB / 0.5828 GB, free: 5.711 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.1287, allocations: 201.8 kB / 0.583 GB, free: 5.477 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.1287, allocations: 16.38 kB / 0.583 GB, free: 5.461 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.1287, allocations: 12.31 kB / 0.583 GB, free: 5.449 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.1289, allocations: 83.89 kB / 0.5831 GB, free: 5.355 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.1289, allocations: 7.922 kB / 0.5831 GB, free: 5.348 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.1289, allocations: 4 kB / 0.5831 GB, free: 5.344 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1289, allocations: 0 / 0.5831 GB, free: 5.344 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.677e-05/0.129, allocations: 35.98 kB / 0.5832 GB, free: 5.309 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000203/0.1292, allocations: 238.4 kB / 0.5834 GB, free: 5.023 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.212e-05/0.1293, allocations: 77.19 kB / 0.5835 GB, free: 4.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.76e-05/0.1294, allocations: 57.81 kB / 0.5835 GB, free: 4.867 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.1294, allocations: 3.938 kB / 0.5835 GB, free: 4.863 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.1296, allocations: 123.8 kB / 0.5836 GB, free: 4.727 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.092e-06/0.1296, allocations: 0 / 0.5836 GB, free: 4.727 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002964/0.1299, allocations: 185.9 kB / 0.5838 GB, free: 4.539 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.1299, allocations: 89.11 kB / 0.5839 GB, free: 4.434 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.828e-05/0.13, allocations: 147.5 kB / 0.584 GB, free: 4.281 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.1301, allocations: 33.7 kB / 0.5841 GB, free: 4.242 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.1301, allocations: 112.5 kB / 0.5842 GB, free: 4.125 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.106e-05/0.1302, allocations: 39.45 kB / 0.5842 GB, free: 4.086 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.755e-05/0.1303, allocations: 49.7 kB / 0.5843 GB, free: 4.031 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.438e-05/0.1304, allocations: 326.8 kB / 0.5846 GB, free: 3.703 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.176e-05/0.1304, allocations: 39.98 kB / 0.5846 GB, free: 3.664 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.1306, allocations: 204.1 kB / 0.5848 GB, free: 3.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.1307, allocations: 96.55 kB / 0.5849 GB, free: 3.312 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1307, allocations: 0 / 0.5849 GB, free: 3.312 MB / 494.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002054/0.1309, allocations: 161.4 kB / 0.5851 GB, free: 3.148 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.131, allocations: 8 kB / 0.5851 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.131, allocations: 0 / 0.5851 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.131, allocations: 4 kB / 0.5851 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.354e-05/0.1311, allocations: 4 kB / 0.5851 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1311, allocations: 4 kB / 0.5851 GB, free: 3.129 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.1313, allocations: 79.73 kB / 0.5852 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.1314, allocations: 4.094 kB / 0.5852 GB, free: 3.047 MB / 494.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 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.14e-05/0.1315, allocations: 137.8 kB / 0.5853 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.1315, allocations: 19.75 kB / 0.5853 GB, free: 2.883 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.545e-05/0.1315, allocations: 20.7 kB / 0.5853 GB, free: 2.863 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1315, allocations: 0 / 0.5853 GB, free: 2.863 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1315, allocations: 0 / 0.5853 GB, free: 2.863 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.1315, allocations: 0 / 0.5853 GB, free: 2.863 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.1317, allocations: 197.5 kB / 0.5855 GB, free: 2.621 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1317, allocations: 0 / 0.5855 GB, free: 2.621 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.118e-05/0.1317, allocations: 4 kB / 0.5855 GB, free: 2.617 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1317, allocations: 0 / 0.5855 GB, free: 2.617 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.1317, allocations: 8 kB / 0.5855 GB, free: 2.609 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1317, allocations: 0 / 0.5855 GB, free: 2.609 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1317, allocations: 4 kB / 0.5855 GB, free: 2.605 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.1319, allocations: 189.7 kB / 0.5857 GB, free: 2.398 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.03e-05/0.132, allocations: 96.84 kB / 0.5858 GB, free: 2.285 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.132, allocations: 0 / 0.5858 GB, free: 2.285 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.888e-05/0.1321, allocations: 4 kB / 0.5858 GB, free: 2.281 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.1321, allocations: 7.984 kB / 0.5858 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.1321, allocations: 4 kB / 0.5858 GB, free: 2.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.392e-05/0.1322, allocations: 125 kB / 0.5859 GB, free: 2.148 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1322, allocations: 0 / 0.5859 GB, free: 2.148 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.1325, allocations: 72 kB / 0.586 GB, free: 2.078 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005249/0.133, allocations: 0.7819 MB / 0.5868 GB, free: 1.266 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002116/0.1332, allocations: 159.3 kB / 0.5869 GB, free: 1.098 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1332, allocations: 0 / 0.5869 GB, free: 1.098 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.07e-05/0.1333, allocations: 43.98 kB / 0.587 GB, free: 1.055 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.1334, allocations: 8 kB / 0.587 GB, free: 1.047 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.1349, allocations: 1.717 MB / 0.5886 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.1351, allocations: 0.7082 MB / 0.5893 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.743e-05/0.1351, allocations: 4.672 kB / 0.5893 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/0.1352, allocations: 31.42 kB / 0.5894 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1352, allocations: 4 kB / 0.5894 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5162/0.6514, allocations: 3.701 MB / 0.593 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/0.6516, allocations: 192.9 kB / 0.5932 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.628/3.28, allocations: 3.828 kB / 0.5932 GB, free: 10.65 MB / 0.4981 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/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)