Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.0007557/0.0007557, 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.0008983/0.0008983, allocations: 165.9 kB / 22.46 MB, free: 2.105 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 0.891/0.891, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002572/0.002572, allocations: 229.6 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6991/0.6991, allocations: 138.4 MB / 454.3 MB, free: 29.95 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.6462 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.453e-05/1.612e-05, allocations: 6.219 kB / 0.6462 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.2946/0.2946, allocations: 4.486 MB / 0.6506 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.1341/0.4287, allocations: 132.8 MB / 0.7803 GB, free: 1.699 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.4298, allocations: 23.81 kB / 0.7803 GB, free: 1.676 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006377/0.4305, allocations: 202.1 kB / 0.7805 GB, free: 1.477 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.4322, allocations: 0.5875 MB / 0.7811 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.4339, allocations: 0.8848 MB / 0.7819 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001074/0.435, allocations: 1.48 MB / 0.7834 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006053/0.4356, allocations: 408.6 kB / 0.7838 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007334/0.4364, allocations: 0.7484 MB / 0.7845 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004796/0.4368, allocations: 418.8 kB / 0.7849 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.437, allocations: 120 kB / 0.785 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006997/0.4377, allocations: 495.3 kB / 0.7855 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001818/0.4378, allocations: 318.9 kB / 0.7858 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000236/0.4381, allocations: 391 kB / 0.7862 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001488/0.4396, allocations: 1.807 MB / 0.7879 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.4396, allocations: 0 / 0.7879 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4396, allocations: 0 / 0.7879 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.651e-05/0.4396, allocations: 0 / 0.7879 GB, free: 9.836 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.00186/0.4415, allocations: 1.444 MB / 0.7893 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.4415, allocations: 13.94 kB / 0.7893 GB, free: 8.344 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001095/0.4416, allocations: 135.7 kB / 0.7895 GB, free: 8.203 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009325/0.4425, allocations: 284.6 kB / 0.7897 GB, free: 7.926 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008602/0.4434, allocations: 0.7297 MB / 0.7905 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.809e-05/0.4434, allocations: 69.94 kB / 0.7905 GB, free: 7.105 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-05/0.4435, allocations: 87.98 kB / 0.7906 GB, free: 7.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.4448, allocations: 1.234 MB / 0.7918 GB, free: 5.672 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.4448, allocations: 0 / 0.7918 GB, free: 5.672 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.137e-05/0.4448, allocations: 36.66 kB / 0.7918 GB, free: 5.637 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.4448, allocations: 24 kB / 0.7919 GB, free: 5.613 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.4461, allocations: 1.128 MB / 0.793 GB, free: 4.484 MB / 0.6198 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002742/0.4488, allocations: 2.529 MB / 0.7954 GB, free: 1.891 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.4499, allocations: 0.8222 MB / 0.7962 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003827/0.4503, allocations: 286.7 kB / 0.7965 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.903e-05/0.4503, allocations: 28.47 kB / 0.7965 GB, free: 0.7578 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006085/0.451, allocations: 0.6011 MB / 0.7971 GB, free: 120 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=83): time 2.885e-06/0.451, allocations: 0 / 0.7971 GB, free: 120 kB / 0.6198 GB Notification: Performance of matching and sorting (n=83): time 0.001857/0.4528, allocations: 1.164 MB / 0.7983 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.276e-05/0.4529, allocations: 192.9 kB / 0.7984 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006167/0.4535, allocations: 0.6568 MB / 0.7991 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.261e-05/0.4535, allocations: 41.7 kB / 0.7991 GB, free: 14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.4538, allocations: 436.9 kB / 0.7995 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.4539, allocations: 281.5 kB / 0.7998 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.4541, allocations: 154.6 kB / 0.8 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.4543, allocations: 386.8 kB / 0.8003 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/0.4546, allocations: 253.9 kB / 0.8006 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004276/0.455, allocations: 0.5016 MB / 0.8011 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006648/0.4557, allocations: 0.6228 MB / 0.8017 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.4557, allocations: 0 / 0.8017 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001174/0.4568, allocations: 0.8413 MB / 0.8025 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.4569, allocations: 12.56 kB / 0.8025 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.4569, allocations: 2.25 kB / 0.8025 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000298/0.4572, allocations: 84.95 kB / 0.8026 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/0.4575, allocations: 159.8 kB / 0.8027 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.4589, allocations: 1.517 MB / 0.8042 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003073/0.4593, allocations: 101.6 kB / 0.8043 GB, free: 8.453 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/0.4593, allocations: 39.92 kB / 0.8044 GB, free: 8.414 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002619/0.4596, allocations: 262.3 kB / 0.8046 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.4597, allocations: 95.42 kB / 0.8047 GB, free: 8.055 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.461, allocations: 1.094 MB / 0.8058 GB, free: 6.949 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.461, allocations: 8 kB / 0.8058 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.461, allocations: 3.438 kB / 0.8058 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.4611, allocations: 3.984 kB / 0.8058 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/0.4632, allocations: 1.912 MB / 0.8076 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.4632, allocations: 4 kB / 0.8077 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002928/0.4635, allocations: 154.4 kB / 0.8078 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001894/0.4637, allocations: 68.78 kB / 0.8079 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.891e-05/0.4637, allocations: 23.98 kB / 0.8079 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.4648, allocations: 1.554 MB / 0.8094 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4648, allocations: 3.938 kB / 0.8094 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.466, allocations: 1.022 MB / 0.8104 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002391/0.4663, allocations: 199.1 kB / 0.8106 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.381e-05/0.4663, allocations: 23.98 kB / 0.8106 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003014/0.4666, allocations: 60.81 kB / 0.8107 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.4667, allocations: 76.86 kB / 0.8108 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.215e-05/0.4668, allocations: 35.97 kB / 0.8108 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003584/0.4671, allocations: 479 kB / 0.8112 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4671, allocations: 4 kB / 0.8112 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007059/0.4678, allocations: 335.1 kB / 0.8116 GB, free: 0.8203 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002524/0.4704, allocations: 2.119 MB / 0.8136 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.4715, allocations: 0.7925 MB / 0.8144 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4715, allocations: 0 / 0.8144 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005153/0.472, allocations: 0.4963 MB / 0.8149 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000708/0.4727, allocations: 338.7 kB / 0.8152 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006805/0.4795, allocations: 6.457 MB / 0.8215 GB, free: 6.703 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.4798, allocations: 448.8 kB / 0.822 GB, free: 6.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005018/0.4803, allocations: 279 kB / 0.8222 GB, free: 5.953 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004019/0.4807, allocations: 400.3 kB / 0.8226 GB, free: 5.566 MB / 0.6511 GB Notification: Performance of SimCode: time 6.72e-07/0.4807, allocations: 0 / 0.8226 GB, free: 5.566 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04119/0.5219, allocations: 24.46 MB / 0.8465 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.745/9.267, allocations: 3.188 kB / 0.8465 GB, free: 13.46 MB / 0.6823 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildingSystems_BuildingSystems_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.123688687570393] Failed to read output from testmodel.py, exit status != 0: 9.417642466723919 9.426270472 8.984574387 Calling exit ...