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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 117.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002124/0.002124, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 248.5 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.841/0.841, allocations: 129.2 MB / 432.5 MB, free: 13.03 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(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: Performance of FrontEnd - loaded program: time 0.003053/0.003053, allocations: 67.89 kB / 0.5987 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4067, allocations: 83.44 MB / 0.6801 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002024/0.4087, allocations: 1.421 MB / 0.6815 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007495/0.4095, allocations: 0.4987 MB / 0.682 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.23e-05/0.4095, allocations: 0 / 0.682 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.082e-05/0.4096, allocations: 9.844 kB / 0.682 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.823e-05/0.4096, allocations: 18.16 kB / 0.682 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006512/0.4103, allocations: 222.6 kB / 0.6823 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.4105, allocations: 149 kB / 0.6824 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.607e-05/0.4105, allocations: 2.094 kB / 0.6824 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.695e-05/0.4106, allocations: 60.7 kB / 0.6825 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.929e-05/0.4107, allocations: 42.08 kB / 0.6825 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.4107, allocations: 14.81 kB / 0.6825 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002297/0.4109, allocations: 170.7 kB / 0.6827 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.954e-05/0.411, allocations: 35.34 kB / 0.6827 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.554e-05/0.411, allocations: 50.23 kB / 0.6828 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.4113, allocations: 230.5 kB / 0.683 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4113, allocations: 1.125 kB / 0.683 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4113, allocations: 0 / 0.683 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.4113, allocations: 3.938 kB / 0.683 GB, free: 3.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.0004795/0.4118, allocations: 454.8 kB / 0.6834 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.4119, allocations: 13.34 kB / 0.6834 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.624e-05/0.4119, allocations: 36.64 kB / 0.6835 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/0.4119, allocations: 16.59 kB / 0.6835 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.4121, allocations: 208.9 kB / 0.6837 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.4121, allocations: 9.812 kB / 0.6837 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.4122, allocations: 9.281 kB / 0.6837 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.4123, allocations: 87.06 kB / 0.6838 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.4123, allocations: 3.938 kB / 0.6838 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.4123, allocations: 5 kB / 0.6838 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4123, allocations: 5.406 kB / 0.6838 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.816e-05/0.4124, allocations: 34.55 kB / 0.6838 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000187/0.4126, allocations: 228.6 kB / 0.684 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.217e-05/0.4127, allocations: 72.44 kB / 0.6841 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.326e-05/0.4127, allocations: 54.8 kB / 0.6842 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.4127, allocations: 7.984 kB / 0.6842 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001772/0.4129, allocations: 115.1 kB / 0.6843 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.4129, allocations: 0.9688 kB / 0.6843 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0003596/0.4133, allocations: 183.2 kB / 0.6845 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.4133, allocations: 93.98 kB / 0.6845 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.4134, allocations: 154.2 kB / 0.6847 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.4135, allocations: 34.61 kB / 0.6847 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.16e-05/0.4135, allocations: 101.8 kB / 0.6848 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.4135, allocations: 37.91 kB / 0.6849 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.204e-05/0.4136, allocations: 48.2 kB / 0.6849 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.428e-05/0.4136, allocations: 326.2 kB / 0.6852 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.984e-05/0.4137, allocations: 40.77 kB / 0.6853 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.4138, allocations: 197.6 kB / 0.6854 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.414, allocations: 106.6 kB / 0.6855 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.414, allocations: 4 kB / 0.6856 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000197/0.4142, allocations: 169.8 kB / 0.6857 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.4142, allocations: 5.625 kB / 0.6857 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.4142, allocations: 3.344 kB / 0.6857 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.4142, allocations: 1.188 kB / 0.6857 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.758e-05/0.4143, allocations: 6.688 kB / 0.6857 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4143, allocations: 1 kB / 0.6857 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.4145, allocations: 77.05 kB / 0.6858 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.4146, allocations: 4.406 kB / 0.6858 GB, free: 1.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 8.559e-05/0.4146, allocations: 133.7 kB / 0.6859 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.793e-05/0.4147, allocations: 17.09 kB / 0.686 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.784e-05/0.4147, allocations: 20.61 kB / 0.686 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4147, allocations: 1.125 kB / 0.686 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4147, allocations: 4 kB / 0.686 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.4147, allocations: 1.031 kB / 0.686 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.263e-05/0.4148, allocations: 199 kB / 0.6862 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.4148, allocations: 0 / 0.6862 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.149e-05/0.4148, allocations: 6.375 kB / 0.6862 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4148, allocations: 1.5 kB / 0.6862 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.4148, allocations: 1.469 kB / 0.6862 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4148, allocations: 1.062 kB / 0.6862 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4148, allocations: 0 / 0.6862 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.415, allocations: 192 kB / 0.6864 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.526e-05/0.415, allocations: 88.77 kB / 0.6864 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.4151, allocations: 5.375 kB / 0.6864 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.874e-05/0.4151, allocations: 7.406 kB / 0.6865 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.4151, allocations: 6.422 kB / 0.6865 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.4152, allocations: 2.906 kB / 0.6865 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.407e-05/0.4152, allocations: 125.4 kB / 0.6866 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4152, allocations: 0 / 0.6866 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002805/0.4155, allocations: 70.12 kB / 0.6867 GB, free: 0.6445 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.0004867/0.416, allocations: 0.7828 MB / 0.6874 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002707/0.4162, allocations: 159 kB / 0.6876 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4162, allocations: 0 / 0.6876 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.622e-05/0.4163, allocations: 37.86 kB / 0.6876 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.4165, allocations: 6.906 kB / 0.6876 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.4184, allocations: 1.716 MB / 0.6893 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.4187, allocations: 0.7177 MB / 0.69 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.074e-05/0.4188, allocations: 6.297 kB / 0.69 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.276e-05/0.4188, allocations: 29.14 kB / 0.69 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of SimCode: time 3.3e-07/0.4188, allocations: 0 / 0.69 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.4449, allocations: 3.981 MB / 0.6939 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.909/8.354, allocations: 6.312 kB / 0.6939 GB, free: 11.61 MB / 0.5137 GB " [Timeout remaining time 652] (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: 11.770836201962084] Failed to read output from testmodel.py, exit status != 0: 8.423249882180244 8.439224801 8.024504294 Calling exit ...