Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.0007423/0.0007423, 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.0007743/0.0007743, 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 0.8524/0.8524, allocations: 177.1 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.00137/0.00137, allocations: 237.1 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.6834/0.6834, 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.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.966e-06/2.966e-06, allocations: 3.984 kB / 0.6463 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.262e-05/1.559e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.2221/0.2221, allocations: 2.029 MB / 0.6483 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.2234, allocations: 1.01 MB / 0.6493 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.708e-05/0.2235, allocations: 8.906 kB / 0.6493 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 4.258e-05/0.2236, allocations: 25.22 kB / 0.6493 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002352/0.2238, allocations: 81.72 kB / 0.6494 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002931/0.2241, allocations: 197.9 kB / 0.6496 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.2243, allocations: 304.2 kB / 0.6499 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.2245, allocations: 45.91 kB / 0.6499 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.2246, allocations: 156.1 kB / 0.6501 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.2248, allocations: 111.3 kB / 0.6502 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.219e-05/0.2248, allocations: 17.28 kB / 0.6502 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003074/0.2251, allocations: 279.2 kB / 0.6504 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.208e-05/0.2251, allocations: 48.53 kB / 0.6505 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.774e-05/0.2252, allocations: 77.25 kB / 0.6506 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003266/0.2255, allocations: 372.5 kB / 0.6509 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2255, allocations: 0.7188 kB / 0.6509 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2255, allocations: 0 / 0.6509 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.912e-06/0.2255, allocations: 1.656 kB / 0.6509 GB, free: 55.56 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006262/0.2262, allocations: 0.5536 MB / 0.6515 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.2262, allocations: 14.47 kB / 0.6515 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.949e-05/0.2262, allocations: 46.14 kB / 0.6515 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.2263, allocations: 41.67 kB / 0.6516 GB, free: 55.13 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.2266, allocations: 218.6 kB / 0.6518 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.2266, allocations: 15.12 kB / 0.6518 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.2266, allocations: 14.81 kB / 0.6518 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002993/0.2269, allocations: 236.9 kB / 0.652 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.227, allocations: 192 / 0.652 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.227, allocations: 9.875 kB / 0.652 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.227, allocations: 7.203 kB / 0.652 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003576/0.2273, allocations: 197.4 kB / 0.6522 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000615/0.2279, allocations: 0.8769 MB / 0.6531 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004341/0.2284, allocations: 231.3 kB / 0.6533 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.2286, allocations: 106.9 kB / 0.6534 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.2286, allocations: 3.938 kB / 0.6534 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.19e-05/0.2286, allocations: 33.48 kB / 0.6534 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.2286, allocations: 0 / 0.6534 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of matching and sorting (n=16): time 0.0006274/0.2292, allocations: 339.6 kB / 0.6538 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.2292, allocations: 81.97 kB / 0.6538 GB, free: 53.67 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.2294, allocations: 270 kB / 0.6541 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.2294, allocations: 35.64 kB / 0.6541 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.661e-05/0.2295, allocations: 156.1 kB / 0.6543 GB, free: 53.35 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.2295, allocations: 58.42 kB / 0.6543 GB, free: 53.3 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.464e-05/0.2295, allocations: 39.8 kB / 0.6544 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.771e-05/0.2296, allocations: 336 kB / 0.6547 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.2297, allocations: 96.61 kB / 0.6548 GB, free: 52.93 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.2299, allocations: 143.7 kB / 0.6549 GB, free: 52.85 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003483/0.2303, allocations: 238.3 kB / 0.6552 GB, free: 52.74 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.2303, allocations: 5.781 kB / 0.6552 GB, free: 52.74 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004417/0.2307, allocations: 287 kB / 0.6554 GB, free: 52.64 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.2307, allocations: 14.59 kB / 0.6554 GB, free: 52.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2307, allocations: 1.875 kB / 0.6554 GB, free: 52.63 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.2307, allocations: 2.734 kB / 0.6555 GB, free: 52.63 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.2309, allocations: 64.33 kB / 0.6555 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.2309, allocations: 4.109 kB / 0.6555 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.231, allocations: 37.94 kB / 0.6556 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.231, allocations: 8.969 kB / 0.6556 GB, free: 52.61 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 6.393e-05/0.2311, allocations: 139.7 kB / 0.6557 GB, free: 52.47 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.432e-05/0.2311, allocations: 27.75 kB / 0.6557 GB, free: 52.46 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000444/0.2316, allocations: 298.8 kB / 0.656 GB, free: 52.35 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.2316, allocations: 1.75 kB / 0.656 GB, free: 52.35 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2316, allocations: 1.656 kB / 0.656 GB, free: 52.35 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2316, allocations: 1.5 kB / 0.656 GB, free: 52.35 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.2318, allocations: 238.5 kB / 0.6562 GB, free: 52.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2318, allocations: 2.031 kB / 0.6562 GB, free: 52.15 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.2319, allocations: 57.89 kB / 0.6563 GB, free: 52.15 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2319, allocations: 3.938 kB / 0.6563 GB, free: 52.14 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.2319, allocations: 14.91 kB / 0.6563 GB, free: 52.13 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.2319, allocations: 2.281 kB / 0.6563 GB, free: 52.13 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2319, allocations: 1.125 kB / 0.6563 GB, free: 52.13 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004172/0.2324, allocations: 434.7 kB / 0.6567 GB, free: 51.87 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.303e-05/0.2324, allocations: 29.33 kB / 0.6568 GB, free: 51.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.2324, allocations: 9.719 kB / 0.6568 GB, free: 51.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.2325, allocations: 25.89 kB / 0.6568 GB, free: 51.84 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.2326, allocations: 28.47 kB / 0.6568 GB, free: 51.83 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.2326, allocations: 3.531 kB / 0.6568 GB, free: 51.83 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 9.794e-05/0.2327, allocations: 191.5 kB / 0.657 GB, free: 51.71 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2327, allocations: 0.5625 kB / 0.657 GB, free: 51.71 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002273/0.2329, allocations: 58.95 kB / 0.6571 GB, free: 51.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0005719/0.2335, allocations: 0.9874 MB / 0.658 GB, free: 50.89 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003997/0.2339, allocations: 226.8 kB / 0.6582 GB, free: 50.84 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.2339, allocations: 0 / 0.6582 GB, free: 50.84 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.2341, allocations: 114.4 kB / 0.6584 GB, free: 50.82 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.2344, allocations: 68.59 kB / 0.6584 GB, free: 50.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.2367, allocations: 2.718 MB / 0.6611 GB, free: 48.96 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.31e-05/0.2367, allocations: 141.7 kB / 0.6612 GB, free: 48.89 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 9.229e-05/0.2368, allocations: 32.45 kB / 0.6612 GB, free: 48.88 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.401e-05/0.2369, allocations: 87.81 kB / 0.6613 GB, free: 48.82 MB / 0.5573 GB Notification: Performance of SimCode: time 4.91e-07/0.2369, allocations: 0 / 0.6613 GB, free: 48.82 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.2549, allocations: 7.697 MB / 0.6688 GB, free: 47.49 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.846/7.1, allocations: 10.16 kB / 0.6688 GB, free: 47.48 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.csv --start-time 0 --stop-time 80 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.032 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.672508432529867] Failed to read output from testmodel.py, exit status != 0: 7.183434539474547 7.192189002 6.964714357 Calling exit ...