Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.00131/0.00131, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009741/0.0009741, allocations: 169.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.086/1.086, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.651/0.651, allocations: 110.2 MB / 369.4 MB, free: 12.62 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.479e-06/4.479e-06, allocations: 4 kB / 0.5472 GB, free: 8.812 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/3.073e-05, allocations: 2.281 kB / 0.5472 GB, free: 8.809 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002511/0.002542, allocations: 1.416 MB / 0.5486 GB, free: 7.379 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007765/0.003318, allocations: 474.2 kB / 0.5491 GB, free: 6.914 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.459e-05/0.003373, allocations: 4 kB / 0.5491 GB, free: 6.91 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 9.551e-05/0.003468, allocations: 7.875 kB / 0.5491 GB, free: 6.902 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 7.558e-05/0.003544, allocations: 11.92 kB / 0.5491 GB, free: 6.891 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008807/0.004425, allocations: 242 kB / 0.5493 GB, free: 6.656 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.000222/0.004647, allocations: 151.7 kB / 0.5495 GB, free: 6.508 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.495e-05/0.004702, allocations: 7.938 kB / 0.5495 GB, free: 6.5 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.43e-05/0.004796, allocations: 79.88 kB / 0.5495 GB, free: 6.422 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.203e-05/0.004888, allocations: 31.95 kB / 0.5496 GB, free: 6.391 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.004922, allocations: 12 kB / 0.5496 GB, free: 6.379 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003251/0.005247, allocations: 191.6 kB / 0.5498 GB, free: 6.191 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 8.394e-05/0.005331, allocations: 39.89 kB / 0.5498 GB, free: 6.152 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 7.742e-05/0.005409, allocations: 39.86 kB / 0.5498 GB, free: 6.113 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004025/0.005811, allocations: 283.3 kB / 0.5501 GB, free: 5.836 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.005815, allocations: 0 / 0.5501 GB, free: 5.836 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.005818, allocations: 0 / 0.5501 GB, free: 5.836 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.005827, allocations: 0 / 0.5501 GB, free: 5.836 MB / 474.7 MB 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.0006664/0.006493, allocations: 379.9 kB / 0.5505 GB, free: 5.434 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.006552, allocations: 12.03 kB / 0.5505 GB, free: 5.422 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.013e-05/0.006602, allocations: 42.73 kB / 0.5505 GB, free: 5.371 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.93e-05/0.006661, allocations: 12.89 kB / 0.5505 GB, free: 5.359 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.006892, allocations: 141.6 kB / 0.5507 GB, free: 5.195 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.006911, allocations: 8.375 kB / 0.5507 GB, free: 5.188 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.006935, allocations: 12.38 kB / 0.5507 GB, free: 5.176 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.007146, allocations: 87.83 kB / 0.5508 GB, free: 5.078 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.007159, allocations: 4.188 kB / 0.5508 GB, free: 5.074 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.007174, allocations: 4.359 kB / 0.5508 GB, free: 5.07 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.007182, allocations: 4.125 kB / 0.5508 GB, free: 5.066 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.346e-05/0.007256, allocations: 39.98 kB / 0.5508 GB, free: 5.027 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002562/0.007512, allocations: 181.7 kB / 0.551 GB, free: 4.805 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.007613, allocations: 69.19 kB / 0.5511 GB, free: 4.719 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.186e-05/0.007675, allocations: 61.73 kB / 0.5511 GB, free: 4.652 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.007692, allocations: 0 / 0.5511 GB, free: 4.652 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002725/0.007965, allocations: 113 kB / 0.5512 GB, free: 4.523 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.007966, allocations: 0 / 0.5512 GB, free: 4.523 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003329/0.008299, allocations: 189.5 kB / 0.5514 GB, free: 4.332 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.008359, allocations: 81.11 kB / 0.5515 GB, free: 4.234 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.008471, allocations: 156 kB / 0.5516 GB, free: 4.074 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.0085, allocations: 37.7 kB / 0.5517 GB, free: 4.031 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.953e-05/0.00856, allocations: 104.5 kB / 0.5518 GB, free: 3.922 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/0.008609, allocations: 35.72 kB / 0.5518 GB, free: 3.887 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.765e-05/0.008676, allocations: 53.7 kB / 0.5519 GB, free: 3.828 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.008784, allocations: 322.8 kB / 0.5522 GB, free: 3.504 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.836e-05/0.008843, allocations: 39.98 kB / 0.5522 GB, free: 3.465 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/0.009164, allocations: 0.6053 MB / 0.5528 GB, free: 2.707 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.009287, allocations: 93.64 kB / 0.5529 GB, free: 2.609 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.00929, allocations: 0 / 0.5529 GB, free: 2.609 MB / 474.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001919/0.009482, allocations: 157.5 kB / 0.553 GB, free: 2.449 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.009501, allocations: 15.94 kB / 0.5531 GB, free: 2.434 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.533e-05/0.009527, allocations: 0 / 0.5531 GB, free: 2.434 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.009545, allocations: 4 kB / 0.5531 GB, free: 2.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.166e-05/0.009637, allocations: 7.984 kB / 0.5531 GB, free: 2.422 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.009645, allocations: 4 kB / 0.5531 GB, free: 2.418 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.009834, allocations: 79.3 kB / 0.5531 GB, free: 2.344 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.009844, allocations: 7.938 kB / 0.5532 GB, free: 2.336 MB / 474.7 MB 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.0001235/0.009967, allocations: 138.6 kB / 0.5533 GB, free: 2.191 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.943e-05/0.009987, allocations: 15.94 kB / 0.5533 GB, free: 2.176 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.117e-05/0.01002, allocations: 16.72 kB / 0.5533 GB, free: 2.16 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.01002, allocations: 0 / 0.5533 GB, free: 2.16 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.01003, allocations: 0 / 0.5533 GB, free: 2.16 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.01003, allocations: 0 / 0.5533 GB, free: 2.16 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.01017, allocations: 172.6 kB / 0.5535 GB, free: 1.949 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.01018, allocations: 0 / 0.5535 GB, free: 1.949 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/0.01021, allocations: 4 kB / 0.5535 GB, free: 1.945 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.01021, allocations: 0 / 0.5535 GB, free: 1.945 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.01022, allocations: 7.938 kB / 0.5535 GB, free: 1.938 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.01023, allocations: 0 / 0.5535 GB, free: 1.938 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01023, allocations: 0 / 0.5535 GB, free: 1.938 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.01044, allocations: 177.8 kB / 0.5537 GB, free: 1.742 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.558e-05/0.01045, allocations: 11.91 kB / 0.5537 GB, free: 1.73 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.01048, allocations: 11.92 kB / 0.5537 GB, free: 1.719 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.554e-05/0.01051, allocations: 8 kB / 0.5537 GB, free: 1.711 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.01057, allocations: 11.98 kB / 0.5537 GB, free: 1.699 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.01057, allocations: 0 / 0.5537 GB, free: 1.699 MB / 474.7 MB Notification: Performance of sorting global known variables: time 6.974e-05/0.01064, allocations: 111.2 kB / 0.5538 GB, free: 1.59 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01064, allocations: 3.938 kB / 0.5538 GB, free: 1.586 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002751/0.01092, allocations: 75.88 kB / 0.5539 GB, free: 1.512 MB / 474.7 MB 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.0009697/0.01189, allocations: 0.7923 MB / 0.5547 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002636/0.01215, allocations: 159.5 kB / 0.5548 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.01216, allocations: 0 / 0.5548 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.838e-05/0.0122, allocations: 39.92 kB / 0.5549 GB, free: 492 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.01235, allocations: 21.88 kB / 0.5549 GB, free: 472 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.01384, allocations: 1.73 MB / 0.5566 GB, free: 14.64 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.006e-05/0.01392, allocations: 93.06 kB / 0.5567 GB, free: 14.52 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.939e-05/0.01396, allocations: 4.734 kB / 0.5567 GB, free: 14.51 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.913e-05/0.01401, allocations: 36.48 kB / 0.5567 GB, free: 14.48 MB / 490.7 MB Notification: Performance of SimCode: time 1.373e-06/0.01401, allocations: 0 / 0.5567 GB, free: 14.48 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02309/0.0371, allocations: 4.851 MB / 0.5614 GB, free: 9.824 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.256/7.293, allocations: 6.594 kB / 0.5614 GB, free: 9.82 MB / 490.7 MB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule_res.csv --start-time -86400 --stop-time 1.2096e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 518.4 BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_OccupancySchedule.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.257274306379259] Failed to read output from testmodel.py, exit status != 0: 7.375473401509225 7.384889043 7.377193756 Calling exit ...