Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.0009789/0.0009789, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009871/0.0009871, allocations: 165.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.014/1.014, allocations: 177.2 MB / 202.8 MB, free: 5.73 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.001792/0.001792, allocations: 241.7 kB / 259.4 MB, free: 13.01 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.8307/0.8307, allocations: 138.4 MB / 454.3 MB, free: 29.99 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.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.6463 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.646e-05/3.851e-05, allocations: 6.281 kB / 0.6463 GB, free: 1.852 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.003138/0.003176, allocations: 1.486 MB / 0.6478 GB, free: 360 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.4386/0.4417, allocations: 0.5119 MB / 0.6483 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.265e-05/0.4418, allocations: 2.188 kB / 0.6483 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 4.074e-05/0.4419, allocations: 3.562 kB / 0.6483 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0004331/0.4423, allocations: 22.19 kB / 0.6483 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.4425, allocations: 38.2 kB / 0.6483 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.4426, allocations: 51.08 kB / 0.6484 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.4428, allocations: 9.938 kB / 0.6484 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002062/0.443, allocations: 36 kB / 0.6484 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.987e-05/0.4431, allocations: 20.92 kB / 0.6484 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.4431, allocations: 6.5 kB / 0.6484 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.3e-05/0.4431, allocations: 11.48 kB / 0.6484 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.169e-05/0.4432, allocations: 10.52 kB / 0.6485 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.628e-05/0.4432, allocations: 13.48 kB / 0.6485 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.4434, allocations: 64.86 kB / 0.6485 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.4434, allocations: 0.7188 kB / 0.6485 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4434, allocations: 0 / 0.6485 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.176e-06/0.4434, allocations: 0.625 kB / 0.6485 GB, free: 55.79 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006327/0.444, allocations: 278.8 kB / 0.6488 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001011/0.4441, allocations: 12.25 kB / 0.6488 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.002e-05/0.4442, allocations: 32.88 kB / 0.6488 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.4443, allocations: 13.44 kB / 0.6489 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.4444, allocations: 114.5 kB / 0.649 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.4444, allocations: 5.938 kB / 0.649 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.4445, allocations: 2.469 kB / 0.649 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.4446, allocations: 56.52 kB / 0.649 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.4446, allocations: 1.438 kB / 0.649 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.4446, allocations: 5.438 kB / 0.649 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.4446, allocations: 0.75 kB / 0.649 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.392e-05/0.4447, allocations: 26.77 kB / 0.6491 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/0.4451, allocations: 238.9 kB / 0.6493 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.4453, allocations: 67.83 kB / 0.6494 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.57e-05/0.4454, allocations: 22.48 kB / 0.6494 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.4454, allocations: 1.656 kB / 0.6494 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003404/0.4457, allocations: 69.73 kB / 0.6494 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=6): time 2.565e-06/0.4457, allocations: 0 / 0.6494 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6): time 0.0003848/0.4461, allocations: 92.72 kB / 0.6495 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.4462, allocations: 53.67 kB / 0.6496 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.621e-05/0.4462, allocations: 104.7 kB / 0.6497 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.4462, allocations: 27.39 kB / 0.6497 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.488e-05/0.4463, allocations: 87.81 kB / 0.6498 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.4463, allocations: 18.61 kB / 0.6498 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/0.4463, allocations: 22.17 kB / 0.6498 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.653e-05/0.4464, allocations: 315.4 kB / 0.6501 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.085e-05/0.4464, allocations: 21.14 kB / 0.6501 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.771e-05/0.4465, allocations: 17.59 kB / 0.6502 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.226e-05/0.4465, allocations: 40.17 kB / 0.6502 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4465, allocations: 7.5 kB / 0.6502 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001083/0.4466, allocations: 75.55 kB / 0.6503 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.4467, allocations: 5.844 kB / 0.6503 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.4467, allocations: 0.9062 kB / 0.6503 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.4467, allocations: 1.406 kB / 0.6503 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.635e-05/0.4467, allocations: 10.41 kB / 0.6503 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.4467, allocations: 0 / 0.6503 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.997e-05/0.4468, allocations: 8.344 kB / 0.6503 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.4468, allocations: 4.578 kB / 0.6503 GB, free: 54.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 5.266e-05/0.4468, allocations: 118.8 kB / 0.6504 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-06/0.4469, allocations: 3.016 kB / 0.6504 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/0.447, allocations: 104.2 kB / 0.6505 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.447, allocations: 2.844 kB / 0.6505 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.447, allocations: 0.5625 kB / 0.6505 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.447, allocations: 1.312 kB / 0.6505 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.061e-05/0.4471, allocations: 149.2 kB / 0.6507 GB, free: 53.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4471, allocations: 1.781 kB / 0.6507 GB, free: 53.99 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.189e-05/0.4472, allocations: 19.5 kB / 0.6507 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4472, allocations: 1.969 kB / 0.6507 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.4472, allocations: 3.812 kB / 0.6507 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4472, allocations: 1.266 kB / 0.6507 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4472, allocations: 1.562 kB / 0.6507 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.4473, allocations: 121.2 kB / 0.6508 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.094e-05/0.4473, allocations: 11.17 kB / 0.6508 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.4473, allocations: 2.125 kB / 0.6508 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.993e-05/0.4474, allocations: 7.641 kB / 0.6508 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.858e-05/0.4474, allocations: 9.625 kB / 0.6508 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.4474, allocations: 5.672 kB / 0.6509 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.418e-05/0.4475, allocations: 83.84 kB / 0.6509 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.4475, allocations: 0 / 0.6509 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001437/0.4476, allocations: 14.92 kB / 0.6509 GB, free: 53.83 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002888/0.4479, allocations: 0.6588 MB / 0.6516 GB, free: 53.23 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.448, allocations: 49.02 kB / 0.6516 GB, free: 53.23 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.448, allocations: 3.938 kB / 0.6516 GB, free: 53.23 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.725e-05/0.4481, allocations: 30.12 kB / 0.6517 GB, free: 53.22 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.4482, allocations: 6.203 kB / 0.6517 GB, free: 53.22 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007977/0.449, allocations: 1.225 MB / 0.6529 GB, free: 52.14 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.888e-05/0.4491, allocations: 67.08 kB / 0.6529 GB, free: 52.07 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.783e-05/0.4491, allocations: 8.312 kB / 0.6529 GB, free: 52.07 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.405e-05/0.4492, allocations: 25.31 kB / 0.653 GB, free: 52.07 MB / 0.5573 GB Notification: Performance of SimCode: time 7.91e-07/0.4492, allocations: 0.9375 kB / 0.653 GB, free: 52.07 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01697/0.4662, allocations: 2.333 MB / 0.6552 GB, free: 51.28 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.576/8.042, allocations: 2.062 kB / 0.6553 GB, free: 51.28 MB / 0.5573 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_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_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.363886718638241] Failed to read output from testmodel.py, exit status != 0: 8.122844110243022 8.13083479 7.685592778 Calling exit ...