Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.0009927/0.0009927, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001083/0.001083, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.9234/0.9234, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.5878/0.5878, allocations: 114 MB / 373.9 MB, free: 8.68 MB / 346.7 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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.622e-05/2.889e-05, allocations: 8.812 kB / 0.5542 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002702/0.002731, allocations: 1.847 MB / 0.556 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.003015/0.005746, allocations: 3.448 MB / 0.5594 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.00585, allocations: 0 / 0.5594 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.000693/0.006543, allocations: 183.1 kB / 0.5595 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.00671, allocations: 79.45 kB / 0.5596 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001123/0.006823, allocations: 55.86 kB / 0.5597 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004595/0.007282, allocations: 290.9 kB / 0.5599 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.833e-05/0.007371, allocations: 13.81 kB / 0.56 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.007491, allocations: 103.8 kB / 0.5601 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.007596, allocations: 67.8 kB / 0.5601 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.007614, allocations: 8 kB / 0.5601 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 7.341e-05/0.007687, allocations: 27.92 kB / 0.5602 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.229e-05/0.007749, allocations: 63.75 kB / 0.5602 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.122e-05/0.007801, allocations: 51.86 kB / 0.5603 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.008019, allocations: 203.2 kB / 0.5605 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.008023, allocations: 0 / 0.5605 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.533e-06/0.008024, allocations: 0 / 0.5605 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.00803, allocations: 0 / 0.5605 GB, free: 12.32 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000622/0.008652, allocations: 476.8 kB / 0.5609 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.008692, allocations: 12.62 kB / 0.5609 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.475e-05/0.008727, allocations: 38.73 kB / 0.561 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004528/0.00918, allocations: 120.7 kB / 0.5611 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.009529, allocations: 221.8 kB / 0.5613 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.00954, allocations: 384 / 0.5613 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.009562, allocations: 12.12 kB / 0.5613 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.009823, allocations: 164.3 kB / 0.5615 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.00983, allocations: 3.938 kB / 0.5615 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.009851, allocations: 4 kB / 0.5615 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.009874, allocations: 11.98 kB / 0.5615 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002628/0.01014, allocations: 159.7 kB / 0.5616 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005433/0.01068, allocations: 423.7 kB / 0.562 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.01097, allocations: 166.5 kB / 0.5622 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.01113, allocations: 112.8 kB / 0.5623 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.01115, allocations: 4 kB / 0.5623 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.01117, allocations: 34.5 kB / 0.5623 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.01117, allocations: 0 / 0.5623 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.0005452/0.01171, allocations: 317.6 kB / 0.5626 GB, free: 9.949 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.01174, allocations: 55.41 kB / 0.5627 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.01194, allocations: 256.2 kB / 0.5629 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.01196, allocations: 29.7 kB / 0.563 GB, free: 9.582 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.363e-05/0.01204, allocations: 144 kB / 0.5631 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.01208, allocations: 43.64 kB / 0.5631 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-05/0.01213, allocations: 29.7 kB / 0.5632 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.979e-05/0.01222, allocations: 342.8 kB / 0.5635 GB, free: 9.016 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.01236, allocations: 83.92 kB / 0.5636 GB, free: 8.934 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.01249, allocations: 77.19 kB / 0.5636 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.01276, allocations: 191.7 kB / 0.5638 GB, free: 8.672 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.01276, allocations: 4 kB / 0.5638 GB, free: 8.668 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003293/0.01309, allocations: 229.4 kB / 0.5641 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.01311, allocations: 4 kB / 0.5641 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.01312, allocations: 7.922 kB / 0.5641 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.01313, allocations: 0 / 0.5641 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.01329, allocations: 47.91 kB / 0.5641 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.01329, allocations: 0 / 0.5641 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.711e-05/0.01338, allocations: 23.81 kB / 0.5641 GB, free: 8.355 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.01339, allocations: 7.984 kB / 0.5641 GB, free: 8.348 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 8.829e-05/0.01348, allocations: 133.8 kB / 0.5643 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.01351, allocations: 23.86 kB / 0.5643 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.691e-05/0.01355, allocations: 29.8 kB / 0.5643 GB, free: 8.156 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.01355, allocations: 0 / 0.5643 GB, free: 8.156 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.01355, allocations: 4 kB / 0.5643 GB, free: 8.152 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.01356, allocations: 4 kB / 0.5643 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.01376, allocations: 240.5 kB / 0.5646 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01376, allocations: 0 / 0.5646 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.01387, allocations: 35.91 kB / 0.5646 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.01388, allocations: 0 / 0.5646 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.01389, allocations: 11.98 kB / 0.5646 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.01389, allocations: 4 kB / 0.5646 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01389, allocations: 3.938 kB / 0.5646 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.01425, allocations: 339.2 kB / 0.5649 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.746e-05/0.01431, allocations: 31.84 kB / 0.565 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.01433, allocations: 7.984 kB / 0.565 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.772e-05/0.01443, allocations: 11.98 kB / 0.565 GB, free: 7.418 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.01448, allocations: 15.97 kB / 0.565 GB, free: 7.402 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.01449, allocations: 7.984 kB / 0.565 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001206/0.01461, allocations: 195 kB / 0.5652 GB, free: 7.203 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.01461, allocations: 0 / 0.5652 GB, free: 7.203 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002004/0.01481, allocations: 39.94 kB / 0.5652 GB, free: 7.164 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0006715/0.01548, allocations: 0.8645 MB / 0.5661 GB, free: 6.27 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00039/0.01587, allocations: 190.7 kB / 0.5663 GB, free: 6.086 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.01588, allocations: 4 kB / 0.5663 GB, free: 6.082 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.01603, allocations: 95.86 kB / 0.5664 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.01645, allocations: 57.48 kB / 0.5664 GB, free: 5.93 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/0.01879, allocations: 2.465 MB / 0.5688 GB, free: 3.383 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.0189, allocations: 128.1 kB / 0.5689 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000192/0.0191, allocations: 61.44 kB / 0.569 GB, free: 3.18 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.01921, allocations: 72.47 kB / 0.5691 GB, free: 3.109 MB / 0.5261 GB Notification: Performance of SimCode: time 1.462e-06/0.01921, allocations: 0 / 0.5691 GB, free: 3.109 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.04095, allocations: 5.951 MB / 0.5749 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.645/6.686, allocations: 4 kB / 0.5749 GB, free: 13.39 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.329354505985975] Failed to read output from testmodel.py, exit status != 0: 6.770977944135666 6.7826444 6.771665209 Calling exit ...