Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001766/0.001766, allocations: 119 kB / 19.69 MB, free: 2.199 MB / 14.72 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.001679/0.001679, allocations: 220.6 kB / 23.01 MB, free: 5.047 MB / 14.72 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.986/0.986, allocations: 150 MB / 463.2 MB, free: 10.54 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002147/0.002147, allocations: 62.34 kB / 0.6412 GB, free: 10.46 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2187, allocations: 89.18 MB / 0.7283 GB, free: 1.348 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.003226/0.222, allocations: 1.431 MB / 0.7297 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.223, allocations: 495.9 kB / 0.7302 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.403e-05/0.2231, allocations: 4 kB / 0.7302 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.834e-05/0.2232, allocations: 3.938 kB / 0.7302 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.996e-05/0.2232, allocations: 11.92 kB / 0.7302 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009739/0.2242, allocations: 243.2 kB / 0.7304 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002674/0.2245, allocations: 147.7 kB / 0.7306 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.255e-05/0.2246, allocations: 8 kB / 0.7306 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.2247, allocations: 59.89 kB / 0.7306 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.2248, allocations: 43.83 kB / 0.7307 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.442e-05/0.2248, allocations: 8 kB / 0.7307 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004366/0.2253, allocations: 199.8 kB / 0.7309 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.777e-05/0.2253, allocations: 35.92 kB / 0.7309 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.688e-05/0.2254, allocations: 51.77 kB / 0.731 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004507/0.2259, allocations: 239.5 kB / 0.7312 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.2259, allocations: 4 kB / 0.7312 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2259, allocations: 0 / 0.7312 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.36e-05/0.2259, allocations: 4 kB / 0.7312 GB, free: 14.38 MB / 0.5606 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.0007339/0.2267, allocations: 373.6 kB / 0.7316 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.2267, allocations: 8.031 kB / 0.7316 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.937e-05/0.2268, allocations: 46.67 kB / 0.7316 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.228e-05/0.2268, allocations: 16.84 kB / 0.7316 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.2271, allocations: 144.4 kB / 0.7318 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.2271, allocations: 8.375 kB / 0.7318 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.001e-05/0.2272, allocations: 12.38 kB / 0.7318 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.2274, allocations: 83.95 kB / 0.7319 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.2274, allocations: 3.938 kB / 0.7319 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.2274, allocations: 7.938 kB / 0.7319 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.2274, allocations: 3.938 kB / 0.7319 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.718e-05/0.2275, allocations: 39.97 kB / 0.7319 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.2278, allocations: 197.6 kB / 0.7321 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.2279, allocations: 81.19 kB / 0.7322 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.222e-05/0.228, allocations: 53.73 kB / 0.7322 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.228, allocations: 0 / 0.7322 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002867/0.2283, allocations: 117 kB / 0.7324 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.2283, allocations: 4 kB / 0.7324 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0004144/0.2287, allocations: 189.5 kB / 0.7325 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.909e-05/0.2288, allocations: 85.05 kB / 0.7326 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.229, allocations: 145.8 kB / 0.7328 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.781e-05/0.229, allocations: 37.7 kB / 0.7328 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.093e-05/0.2291, allocations: 100.5 kB / 0.7329 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.67e-05/0.2292, allocations: 39.69 kB / 0.7329 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.467e-05/0.2292, allocations: 57.62 kB / 0.733 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.2294, allocations: 326.8 kB / 0.7333 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.344e-05/0.2295, allocations: 39.98 kB / 0.7333 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.2297, allocations: 196 kB / 0.7335 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.2299, allocations: 99.88 kB / 0.7336 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2299, allocations: 0 / 0.7336 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002547/0.2301, allocations: 169.3 kB / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.2302, allocations: 7.984 kB / 0.7338 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/0.2302, allocations: 4 kB / 0.7338 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.2302, allocations: 3.938 kB / 0.7338 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.523e-05/0.2303, allocations: 8 kB / 0.7338 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.2303, allocations: 0 / 0.7338 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/0.2306, allocations: 74.67 kB / 0.7339 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.2306, allocations: 4 kB / 0.7339 GB, free: 11.36 MB / 0.5606 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 0.0001461/0.2308, allocations: 141.8 kB / 0.734 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.2308, allocations: 19.83 kB / 0.734 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.093e-05/0.2308, allocations: 16.7 kB / 0.734 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2308, allocations: 0 / 0.734 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.2308, allocations: 0 / 0.734 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.2308, allocations: 4 kB / 0.734 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.231, allocations: 164.6 kB / 0.7342 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.231, allocations: 3.984 kB / 0.7342 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.127e-05/0.2311, allocations: 8 kB / 0.7342 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.2311, allocations: 4 kB / 0.7342 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.2311, allocations: 0 / 0.7342 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.2311, allocations: 4 kB / 0.7342 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2311, allocations: 0 / 0.7342 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.2314, allocations: 178.4 kB / 0.7344 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.735e-05/0.2314, allocations: 23.84 kB / 0.7344 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.2314, allocations: 4 kB / 0.7344 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.545e-05/0.2314, allocations: 7.984 kB / 0.7344 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/0.2315, allocations: 7.984 kB / 0.7344 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.2315, allocations: 8 kB / 0.7344 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.839e-05/0.2316, allocations: 113.7 kB / 0.7346 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2316, allocations: 3.938 kB / 0.7346 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003417/0.2319, allocations: 71.81 kB / 0.7346 GB, free: 10.52 MB / 0.5606 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.0008447/0.2328, allocations: 0.7792 MB / 0.7354 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003536/0.2331, allocations: 167.6 kB / 0.7355 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2331, allocations: 0 / 0.7355 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.592e-05/0.2332, allocations: 43.91 kB / 0.7356 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.2334, allocations: 8 kB / 0.7356 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.2355, allocations: 1.715 MB / 0.7373 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.2359, allocations: 0.7002 MB / 0.738 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.695e-05/0.2359, allocations: 8.672 kB / 0.738 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.463e-05/0.236, allocations: 27.42 kB / 0.738 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of SimCode: time 6.11e-07/0.236, allocations: 0 / 0.738 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03313/0.2691, allocations: 4.155 MB / 0.742 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.42, allocations: 14.88 kB / 0.7421 GB, free: 2.918 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --stepSize=518.4 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_SetPoints_Examples_OccupancySchedule.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.291757805971429] Failed to read output from testmodel.py, exit status != 0: 11.533008091151714 11.557169493 11.326502144 Calling exit ...