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.007554/0.007554, allocations: 101 kB / 15.73 MB, free: 6.039 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.001583/0.001583, allocations: 200.7 kB / 16.68 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.267/1.267, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.716/0.716, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.91 kB / 0.5808 GB, free: 8.125 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.408, allocations: 80.2 MB / 0.6592 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.0021/0.4102, allocations: 1.409 MB / 0.6605 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007906/0.411, allocations: 0.4988 MB / 0.661 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.423e-05/0.411, allocations: 0 / 0.661 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.64e-05/0.4111, allocations: 11.36 kB / 0.661 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.248e-05/0.4112, allocations: 8.531 kB / 0.661 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000702/0.4119, allocations: 225.5 kB / 0.6612 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.4121, allocations: 151.3 kB / 0.6614 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.679e-05/0.4121, allocations: 8.344 kB / 0.6614 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.352e-05/0.4122, allocations: 52.94 kB / 0.6615 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.961e-05/0.4123, allocations: 47.89 kB / 0.6615 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.4123, allocations: 14.59 kB / 0.6615 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002485/0.4126, allocations: 172.2 kB / 0.6617 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.797e-05/0.4127, allocations: 35.47 kB / 0.6617 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.451e-05/0.4127, allocations: 53.14 kB / 0.6618 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.4131, allocations: 234.4 kB / 0.662 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.4131, allocations: 0 / 0.662 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4131, allocations: 0 / 0.662 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.4131, allocations: 0 / 0.662 GB, free: 8.141 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.0004879/0.4136, allocations: 451.3 kB / 0.6624 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.4136, allocations: 10.89 kB / 0.6624 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.844e-05/0.4137, allocations: 37.41 kB / 0.6625 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.827e-05/0.4137, allocations: 12.94 kB / 0.6625 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.4139, allocations: 206.5 kB / 0.6627 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.4139, allocations: 12.84 kB / 0.6627 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.4139, allocations: 10.16 kB / 0.6627 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.4141, allocations: 83.28 kB / 0.6628 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.4141, allocations: 4.547 kB / 0.6628 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.4141, allocations: 13.3 kB / 0.6628 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4141, allocations: 1.5 kB / 0.6628 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.529e-05/0.4142, allocations: 40.3 kB / 0.6628 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001986/0.4144, allocations: 224.1 kB / 0.663 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.4145, allocations: 75.97 kB / 0.6631 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.325e-05/0.4146, allocations: 57.67 kB / 0.6632 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.4146, allocations: 9 kB / 0.6632 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/0.4148, allocations: 111.1 kB / 0.6633 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.4149, allocations: 0 / 0.6633 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0003321/0.4152, allocations: 189.9 kB / 0.6635 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.4152, allocations: 86.78 kB / 0.6635 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.4154, allocations: 150.9 kB / 0.6637 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.4154, allocations: 34.67 kB / 0.6637 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.511e-05/0.4154, allocations: 101.3 kB / 0.6638 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/0.4155, allocations: 39.52 kB / 0.6639 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.968e-05/0.4156, allocations: 51.58 kB / 0.6639 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.361e-05/0.4156, allocations: 323.7 kB / 0.6642 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.105e-05/0.4157, allocations: 40.64 kB / 0.6643 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.4158, allocations: 207.6 kB / 0.6645 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.416, allocations: 97.48 kB / 0.6645 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.416, allocations: 0 / 0.6645 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000205/0.4162, allocations: 164.5 kB / 0.6647 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.4162, allocations: 10.78 kB / 0.6647 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/0.4162, allocations: 2.406 kB / 0.6647 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.4163, allocations: 1.312 kB / 0.6647 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.649e-05/0.4163, allocations: 10.53 kB / 0.6647 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4163, allocations: 5.25 kB / 0.6647 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.4166, allocations: 81.17 kB / 0.6648 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.4166, allocations: 8.656 kB / 0.6648 GB, free: 5.75 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 8.462e-05/0.4167, allocations: 126.9 kB / 0.6649 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.4167, allocations: 12.88 kB / 0.6649 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/0.4168, allocations: 20.58 kB / 0.665 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4168, allocations: 1.25 kB / 0.665 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4168, allocations: 1.406 kB / 0.665 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4168, allocations: 0 / 0.665 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.863e-05/0.4169, allocations: 198.1 kB / 0.6652 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4169, allocations: 1.312 kB / 0.6652 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.256e-05/0.4169, allocations: 10.38 kB / 0.6652 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4169, allocations: 0 / 0.6652 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.417, allocations: 6.562 kB / 0.6652 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.417, allocations: 0 / 0.6652 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.417, allocations: 9.469 kB / 0.6652 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.4172, allocations: 191.5 kB / 0.6654 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/0.4172, allocations: 87.91 kB / 0.6655 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.4172, allocations: 1.375 kB / 0.6655 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.778e-05/0.4173, allocations: 2.531 kB / 0.6655 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.4173, allocations: 10.7 kB / 0.6655 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.4173, allocations: 8.031 kB / 0.6655 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.328e-05/0.4174, allocations: 112.4 kB / 0.6656 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.81e-07/0.4174, allocations: 0 / 0.6656 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003291/0.4177, allocations: 73.44 kB / 0.6657 GB, free: 5.008 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.0004672/0.4182, allocations: 0.7826 MB / 0.6664 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002267/0.4184, allocations: 170.1 kB / 0.6666 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4185, allocations: 0 / 0.6666 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.43e-05/0.4185, allocations: 43.7 kB / 0.6666 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.4187, allocations: 7.344 kB / 0.6666 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.42, allocations: 1.709 MB / 0.6683 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.4201, allocations: 0.7171 MB / 0.669 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.412e-05/0.4202, allocations: 6.797 kB / 0.669 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.4202, allocations: 27.86 kB / 0.669 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of SimCode: time 4.2e-07/0.4202, allocations: 0 / 0.669 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01936/0.4396, allocations: 3.955 MB / 0.6729 GB, free: 20 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.306/7.746, allocations: 6.922 kB / 0.6729 GB, free: 16 kB / 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)