Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.0007425/0.0007425, 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.0007644/0.0007644, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8452/0.8452, 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/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.001412/0.001412, allocations: 238.3 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.657/0.657, 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.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433e-05/1.577e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001877/0.001893, allocations: 1.583 MB / 0.6478 GB, free: 288 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2308/0.2327, allocations: 0.9153 MB / 0.6487 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.536e-05/0.2327, allocations: 0.9062 kB / 0.6487 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.721e-05/0.2327, allocations: 6.438 kB / 0.6487 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.2329, allocations: 29.09 kB / 0.6488 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.2332, allocations: 159 kB / 0.6489 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.2333, allocations: 83.38 kB / 0.649 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.081e-05/0.2334, allocations: 9.859 kB / 0.649 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.2335, allocations: 48.3 kB / 0.6491 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.265e-05/0.2336, allocations: 32.22 kB / 0.6491 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.2336, allocations: 4.156 kB / 0.6491 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000267/0.2339, allocations: 274.5 kB / 0.6494 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.2339, allocations: 12.8 kB / 0.6494 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/0.2339, allocations: 23.31 kB / 0.6494 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.2341, allocations: 189.4 kB / 0.6496 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.2341, allocations: 0 / 0.6496 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of FrontEnd: time 8.32e-07/0.2341, allocations: 1 kB / 0.6496 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.2341, allocations: 1.297 kB / 0.6496 GB, free: 55.59 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.0003458/0.2345, allocations: 338.4 kB / 0.6499 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.2345, allocations: 11.62 kB / 0.6499 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.995e-05/0.2345, allocations: 36.36 kB / 0.6499 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.2347, allocations: 34.06 kB / 0.65 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.2348, allocations: 136.5 kB / 0.6501 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.2349, allocations: 7.359 kB / 0.6501 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.709e-06/0.2349, allocations: 2.75 kB / 0.6501 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.235, allocations: 59.48 kB / 0.6502 GB, free: 55.08 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.235, allocations: 1.844 kB / 0.6502 GB, free: 55.08 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.235, allocations: 6.391 kB / 0.6502 GB, free: 55.08 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.235, allocations: 1.594 kB / 0.6502 GB, free: 55.08 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.876e-05/0.2351, allocations: 44.25 kB / 0.6502 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002551/0.2353, allocations: 259.6 kB / 0.6505 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.742e-05/0.2354, allocations: 56.42 kB / 0.6505 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.58e-05/0.2355, allocations: 34.7 kB / 0.6506 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.2355, allocations: 1.844 kB / 0.6506 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.164e-05/0.2355, allocations: 34.38 kB / 0.6506 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=5): time 7.71e-07/0.2355, allocations: 0 / 0.6506 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5): time 0.0002148/0.2357, allocations: 111.2 kB / 0.6507 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.892e-05/0.2357, allocations: 60.38 kB / 0.6508 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.328e-05/0.2358, allocations: 131.4 kB / 0.6509 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.981e-06/0.2358, allocations: 25.7 kB / 0.6509 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.839e-05/0.2358, allocations: 104.4 kB / 0.651 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.164e-05/0.2358, allocations: 15.95 kB / 0.651 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.2359, allocations: 23.08 kB / 0.651 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.103e-05/0.2359, allocations: 319.7 kB / 0.6514 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.122e-05/0.2359, allocations: 22.89 kB / 0.6514 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.608e-05/0.236, allocations: 24.42 kB / 0.6514 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.993e-05/0.2361, allocations: 54.31 kB / 0.6514 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.2361, allocations: 2.562 kB / 0.6515 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001158/0.2362, allocations: 97.31 kB / 0.6515 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.2362, allocations: 5.312 kB / 0.6515 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2362, allocations: 1.844 kB / 0.6515 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.2362, allocations: 1.266 kB / 0.6516 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.276e-05/0.2363, allocations: 15.62 kB / 0.6516 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.2363, allocations: 0 / 0.6516 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.707e-05/0.2363, allocations: 5.688 kB / 0.6516 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.2363, allocations: 1.625 kB / 0.6516 GB, free: 54.05 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 3.649e-05/0.2363, allocations: 115.4 kB / 0.6517 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.2364, allocations: 16.42 kB / 0.6517 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.2365, allocations: 107.8 kB / 0.6518 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.2365, allocations: 0 / 0.6518 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.2365, allocations: 1.781 kB / 0.6518 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.2365, allocations: 0 / 0.6518 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.889e-05/0.2366, allocations: 154.4 kB / 0.652 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2366, allocations: 1.172 kB / 0.652 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.426e-05/0.2366, allocations: 14.75 kB / 0.652 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2366, allocations: 0.7188 kB / 0.652 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.2366, allocations: 3.875 kB / 0.652 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2366, allocations: 3.891 kB / 0.652 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2366, allocations: 0 / 0.652 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.2367, allocations: 192.2 kB / 0.6522 GB, free: 53.59 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.204e-06/0.2368, allocations: 7.859 kB / 0.6522 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.2368, allocations: 2.75 kB / 0.6522 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.838e-05/0.2368, allocations: 9.719 kB / 0.6522 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/0.2368, allocations: 6.797 kB / 0.6522 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.2368, allocations: 6.594 kB / 0.6522 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.952e-05/0.2369, allocations: 102 kB / 0.6523 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.2369, allocations: 0 / 0.6523 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001577/0.237, allocations: 24.56 kB / 0.6523 GB, free: 53.5 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0002615/0.2373, allocations: 0.7395 MB / 0.653 GB, free: 52.84 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001173/0.2374, allocations: 52.59 kB / 0.6531 GB, free: 52.84 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.22e-07/0.2374, allocations: 0 / 0.6531 GB, free: 52.84 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.319e-05/0.2375, allocations: 38.39 kB / 0.6531 GB, free: 52.83 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.2376, allocations: 9.531 kB / 0.6531 GB, free: 52.83 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008016/0.2384, allocations: 1.475 MB / 0.6546 GB, free: 51.64 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.716e-05/0.2385, allocations: 77.55 kB / 0.6546 GB, free: 51.57 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.253e-05/0.2385, allocations: 8.188 kB / 0.6547 GB, free: 51.57 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.2385, allocations: 26.25 kB / 0.6547 GB, free: 51.57 MB / 0.5573 GB Notification: Performance of SimCode: time 4.41e-07/0.2385, allocations: 0.7188 kB / 0.6547 GB, free: 51.57 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01496/0.2535, allocations: 3.085 MB / 0.6577 GB, free: 50.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.641/6.895, allocations: 10.25 kB / 0.6577 GB, free: 50.7 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.458129967562854] Failed to read output from testmodel.py, exit status != 0: 6.975106127560139 6.984954618 6.74911192 Calling exit ...