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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004815/0.004815, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.001327/0.001327, allocations: 189.8 kB / 16.67 MB, free: 5.973 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.501/1.501, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9575/0.9575, allocations: 135.5 MB / 426.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 63.91 kB / 0.5857 GB, free: 3.176 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3678, allocations: 81.03 MB / 0.6648 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.001907/0.3698, allocations: 1.41 MB / 0.6662 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000648/0.3704, allocations: 0.4913 MB / 0.6667 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.793e-05/0.3705, allocations: 1.594 kB / 0.6667 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.994e-05/0.3705, allocations: 9.078 kB / 0.6667 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.41e-05/0.3706, allocations: 6.719 kB / 0.6667 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005687/0.3712, allocations: 234.7 kB / 0.6669 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.3713, allocations: 153.1 kB / 0.6671 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.69e-05/0.3714, allocations: 7.547 kB / 0.6671 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.256e-05/0.3714, allocations: 60.73 kB / 0.6672 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.435e-05/0.3715, allocations: 41.39 kB / 0.6672 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.3715, allocations: 9.812 kB / 0.6672 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002063/0.3717, allocations: 167.4 kB / 0.6674 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.441e-05/0.3718, allocations: 34.09 kB / 0.6674 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.25e-05/0.3719, allocations: 51.69 kB / 0.6674 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.3721, allocations: 242.4 kB / 0.6677 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3721, allocations: 0 / 0.6677 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3721, allocations: 3.938 kB / 0.6677 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.3721, allocations: 0 / 0.6677 GB, free: 4.914 MB / 0.4981 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.0004024/0.3726, allocations: 455.6 kB / 0.6681 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.3726, allocations: 9.625 kB / 0.6681 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.164e-05/0.3726, allocations: 31.84 kB / 0.6682 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.3727, allocations: 20.42 kB / 0.6682 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.3728, allocations: 204.9 kB / 0.6684 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.3728, allocations: 9.094 kB / 0.6684 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.3728, allocations: 13.34 kB / 0.6684 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.373, allocations: 80.3 kB / 0.6685 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.373, allocations: 3.938 kB / 0.6685 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.373, allocations: 0 / 0.6685 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.373, allocations: 5.578 kB / 0.6685 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.409e-05/0.3731, allocations: 38.58 kB / 0.6685 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.3732, allocations: 241.4 kB / 0.6687 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.266e-05/0.3733, allocations: 78.28 kB / 0.6688 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.991e-05/0.3734, allocations: 53.41 kB / 0.6689 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.3734, allocations: 1.031 kB / 0.6689 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.3735, allocations: 115.5 kB / 0.669 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.3736, allocations: 3.938 kB / 0.669 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.000276/0.3738, allocations: 188.2 kB / 0.6692 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.3739, allocations: 89.92 kB / 0.6692 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.881e-05/0.374, allocations: 150.6 kB / 0.6694 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.374, allocations: 33.42 kB / 0.6694 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.741e-05/0.374, allocations: 103 kB / 0.6695 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.3741, allocations: 44.62 kB / 0.6696 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.13e-05/0.3741, allocations: 52.81 kB / 0.6696 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.811e-05/0.3742, allocations: 326 kB / 0.6699 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.927e-05/0.3742, allocations: 40.92 kB / 0.67 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.3744, allocations: 196.2 kB / 0.6702 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.3745, allocations: 100.7 kB / 0.6702 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3745, allocations: 1.062 kB / 0.6702 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001842/0.3747, allocations: 153.9 kB / 0.6704 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.3747, allocations: 9.328 kB / 0.6704 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.3747, allocations: 3.5 kB / 0.6704 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.3747, allocations: 9.062 kB / 0.6704 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.201e-05/0.3748, allocations: 10.66 kB / 0.6704 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3748, allocations: 1.125 kB / 0.6704 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.3751, allocations: 77.27 kB / 0.6705 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.3751, allocations: 4.312 kB / 0.6705 GB, free: 2.387 MB / 0.4981 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 (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 7.151e-05/0.3752, allocations: 135 kB / 0.6706 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.819e-05/0.3752, allocations: 17.38 kB / 0.6707 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.21e-05/0.3752, allocations: 15.89 kB / 0.6707 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3752, allocations: 1.031 kB / 0.6707 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.3752, allocations: 1.156 kB / 0.6707 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3752, allocations: 0 / 0.6707 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.428e-05/0.3753, allocations: 211 kB / 0.6709 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3753, allocations: 1.062 kB / 0.6709 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.052e-05/0.3754, allocations: 5.312 kB / 0.6709 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3754, allocations: 1.188 kB / 0.6709 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.3754, allocations: 2.688 kB / 0.6709 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3754, allocations: 0 / 0.6709 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3754, allocations: 1.375 kB / 0.6709 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.3756, allocations: 184.4 kB / 0.6711 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.749e-05/0.3756, allocations: 83.59 kB / 0.6711 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.3756, allocations: 5.422 kB / 0.6711 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.885e-05/0.3757, allocations: 6.344 kB / 0.6711 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/0.3757, allocations: 7.969 kB / 0.6712 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.954e-06/0.3757, allocations: 10.05 kB / 0.6712 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.002e-05/0.3758, allocations: 115.3 kB / 0.6713 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3758, allocations: 0 / 0.6713 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002545/0.376, allocations: 68.97 kB / 0.6713 GB, free: 1.648 MB / 0.4981 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 (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.000405/0.3765, allocations: 0.7938 MB / 0.6721 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001964/0.3767, allocations: 164.3 kB / 0.6723 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3767, allocations: 0 / 0.6723 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.757e-05/0.3767, allocations: 50.84 kB / 0.6723 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.3769, allocations: 11.12 kB / 0.6723 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.3783, allocations: 1.71 MB / 0.674 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.3786, allocations: 0.7019 MB / 0.6747 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.513e-05/0.3786, allocations: 6.734 kB / 0.6747 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/0.3787, allocations: 32.61 kB / 0.6747 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.3787, allocations: 0 / 0.6747 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3866/0.7653, allocations: 3.962 MB / 0.6786 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.272/9.037, allocations: 2.219 kB / 0.6786 GB, free: 12.61 MB / 0.5137 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/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)