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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009431/0.0009431, allocations: 109.9 kB / 18.93 MB, free: 1.277 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 217.7 kB / 22.26 MB, free: 3.703 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.017/1.017, allocations: 230.6 MB / 256 MB, free: 9.828 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8354/0.8354, allocations: 203.8 MB / 0.5042 GB, free: 10.75 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 79.03 kB / 0.7182 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5749/0.5763, allocations: 102 MB / 0.8178 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002163/0.5785, allocations: 1.447 MB / 0.8192 GB, free: 264 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000695/0.5792, allocations: 0.4901 MB / 0.8197 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.2e-05/0.5792, allocations: 0 / 0.8197 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.302e-05/0.5793, allocations: 11.11 kB / 0.8197 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.513e-05/0.5794, allocations: 9.109 kB / 0.8197 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007386/0.5801, allocations: 250.5 kB / 0.82 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.5803, allocations: 149.6 kB / 0.8201 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.16e-05/0.5804, allocations: 8.281 kB / 0.8201 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.114e-05/0.5804, allocations: 60.25 kB / 0.8202 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.005e-05/0.5805, allocations: 35.95 kB / 0.8202 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.5805, allocations: 10.59 kB / 0.8202 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002951/0.5808, allocations: 199.7 kB / 0.8204 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.185e-05/0.5809, allocations: 38.3 kB / 0.8205 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.537e-05/0.581, allocations: 57.09 kB / 0.8205 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003631/0.5814, allocations: 231.1 kB / 0.8207 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.5814, allocations: 7.312 kB / 0.8207 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.414e-06/0.5814, allocations: 0 / 0.8207 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.5814, allocations: 0 / 0.8207 GB, free: 15.5 MB / 0.6198 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.0005456/0.5819, allocations: 376.9 kB / 0.8211 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.582, allocations: 10.12 kB / 0.8211 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.965e-05/0.582, allocations: 36.28 kB / 0.8211 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.582, allocations: 18.09 kB / 0.8212 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.5822, allocations: 144.1 kB / 0.8213 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.5822, allocations: 17.5 kB / 0.8213 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.5822, allocations: 11.3 kB / 0.8213 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.5824, allocations: 79.69 kB / 0.8214 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.5824, allocations: 3.938 kB / 0.8214 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.5824, allocations: 0 / 0.8214 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.5824, allocations: 0.5312 kB / 0.8214 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.655e-05/0.5825, allocations: 42.16 kB / 0.8214 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002129/0.5827, allocations: 208.6 kB / 0.8216 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.5828, allocations: 71.39 kB / 0.8217 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.611e-05/0.5829, allocations: 47.39 kB / 0.8218 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.978e-06/0.5829, allocations: 3.406 kB / 0.8218 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001795/0.583, allocations: 122.3 kB / 0.8219 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.5831, allocations: 0 / 0.8219 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0002815/0.5833, allocations: 184.8 kB / 0.8221 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.5834, allocations: 83.11 kB / 0.8221 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.5835, allocations: 160 kB / 0.8223 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.5835, allocations: 38.81 kB / 0.8223 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003334/0.5839, allocations: 100.4 kB / 0.8224 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.5839, allocations: 41.14 kB / 0.8225 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.686e-05/0.584, allocations: 58.02 kB / 0.8225 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.568e-05/0.5841, allocations: 322.4 kB / 0.8228 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.96e-05/0.5841, allocations: 42.06 kB / 0.8229 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.5843, allocations: 199.4 kB / 0.8231 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.5844, allocations: 90.55 kB / 0.8231 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.5844, allocations: 0 / 0.8231 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001683/0.5846, allocations: 170.2 kB / 0.8233 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.5846, allocations: 5.219 kB / 0.8233 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/0.5846, allocations: 4.125 kB / 0.8233 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.5846, allocations: 5.5 kB / 0.8233 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.5847, allocations: 8.562 kB / 0.8233 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.5847, allocations: 5 kB / 0.8233 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.5849, allocations: 77.56 kB / 0.8234 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.5849, allocations: 4.438 kB / 0.8234 GB, free: 13.38 MB / 0.6198 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 9.046e-05/0.585, allocations: 130.5 kB / 0.8235 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.585, allocations: 21 kB / 0.8236 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.633e-05/0.585, allocations: 13.94 kB / 0.8236 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.585, allocations: 2.531 kB / 0.8236 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.585, allocations: 1.438 kB / 0.8236 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.585, allocations: 0 / 0.8236 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.5851, allocations: 173.6 kB / 0.8237 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.5851, allocations: 4 kB / 0.8237 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.684e-05/0.5851, allocations: 9.266 kB / 0.8237 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.5851, allocations: 0 / 0.8237 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-06/0.5851, allocations: 2.188 kB / 0.8237 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.5852, allocations: 9.031 kB / 0.8238 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5852, allocations: 1.094 kB / 0.8238 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.5853, allocations: 180.2 kB / 0.8239 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.46e-05/0.5853, allocations: 20.12 kB / 0.8239 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.5854, allocations: 4.484 kB / 0.824 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.683e-05/0.5854, allocations: 2.75 kB / 0.824 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.5854, allocations: 6.406 kB / 0.824 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.5854, allocations: 6.938 kB / 0.824 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.455e-05/0.5855, allocations: 112 kB / 0.8241 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.5855, allocations: 0 / 0.8241 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002395/0.5857, allocations: 71.5 kB / 0.8241 GB, free: 12.82 MB / 0.6198 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.0005653/0.5863, allocations: 0.7814 MB / 0.8249 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002594/0.5865, allocations: 168.6 kB / 0.8251 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5865, allocations: 0 / 0.8251 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.392e-05/0.5866, allocations: 40.5 kB / 0.8251 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.5868, allocations: 18.02 kB / 0.8251 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.5883, allocations: 1.706 MB / 0.8268 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.5885, allocations: 0.7018 MB / 0.8275 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.204e-05/0.5885, allocations: 8.625 kB / 0.8275 GB, free: 9.992 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.5886, allocations: 27.08 kB / 0.8275 GB, free: 9.973 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/0.5886, allocations: 4 kB / 0.8275 GB, free: 9.969 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.6118, allocations: 4.148 MB / 0.8316 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.447/7.059, allocations: 9.812 kB / 0.8316 GB, free: 9.332 MB / 0.6198 GB " [Timeout remaining time 653] (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 --stepSize=518.4 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.171105094952509] Failed to read output from testmodel.py, exit status != 0: 7.139502691105008 7.157136856 6.5724874 Calling exit ...