Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.0008434/0.0008434, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.001572/0.001572, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8763/0.8763, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.001569/0.001569, allocations: 242.8 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.6645/0.6645, allocations: 138.4 MB / 454.3 MB, free: 30.01 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.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.6463 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.408e-05, allocations: 13.03 kB / 0.6463 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002013/0.002037, allocations: 1.515 MB / 0.6478 GB, free: 372 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0002848/0.002322, allocations: 131.5 kB / 0.6479 GB, free: 240 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.944e-05/0.002361, allocations: 0 / 0.6479 GB, free: 240 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.842e-05/0.002389, allocations: 11.92 kB / 0.6479 GB, free: 228 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.682e-05/0.002436, allocations: 3.938 kB / 0.6479 GB, free: 224 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.002697, allocations: 67.83 kB / 0.648 GB, free: 156 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 9.285e-05/0.002789, allocations: 59.84 kB / 0.648 GB, free: 96 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.933e-05/0.002889, allocations: 15.92 kB / 0.648 GB, free: 80 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.537e-05/0.002954, allocations: 35.91 kB / 0.6481 GB, free: 44 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.805e-05/0.003002, allocations: 15.97 kB / 0.6481 GB, free: 28 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.003029, allocations: 4 kB / 0.6481 GB, free: 24 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.00304, allocations: 8 kB / 0.6481 GB, free: 16 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.2277/0.2307, allocations: 17.5 kB / 0.6481 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.197e-05/0.2308, allocations: 13.11 kB / 0.6481 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.231, allocations: 57.22 kB / 0.6482 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.231, allocations: 0 / 0.6482 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.974e-06/0.231, allocations: 2.938 kB / 0.6482 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.231, allocations: 0 / 0.6482 GB, free: 55.94 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004073/0.2314, allocations: 296.7 kB / 0.6485 GB, free: 55.69 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.2314, allocations: 10.83 kB / 0.6485 GB, free: 55.69 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.929e-05/0.2315, allocations: 35.56 kB / 0.6485 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.2315, allocations: 8.234 kB / 0.6485 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.644e-05/0.2316, allocations: 114.2 kB / 0.6486 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-05/0.2316, allocations: 57.67 kB / 0.6487 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.308e-06/0.2316, allocations: 6.25 kB / 0.6487 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.2318, allocations: 101.6 kB / 0.6488 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.2318, allocations: 192 / 0.6488 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.2318, allocations: 2.406 kB / 0.6488 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.341e-06/0.2318, allocations: 8.469 kB / 0.6488 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.2319, allocations: 47.31 kB / 0.6488 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004341/0.2324, allocations: 275.8 kB / 0.6491 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.052e-05/0.2325, allocations: 49.92 kB / 0.6492 GB, free: 55.13 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.755e-05/0.2325, allocations: 34.34 kB / 0.6492 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.2325, allocations: 0.7188 kB / 0.6492 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.2326, allocations: 33.58 kB / 0.6492 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.2326, allocations: 0.7812 kB / 0.6492 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4): time 0.0002391/0.2328, allocations: 101.7 kB / 0.6493 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.2328, allocations: 53.59 kB / 0.6494 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.375e-05/0.2329, allocations: 112.9 kB / 0.6495 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.2329, allocations: 27.39 kB / 0.6495 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.94e-05/0.2329, allocations: 92.8 kB / 0.6496 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.241e-05/0.2329, allocations: 19.47 kB / 0.6496 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/0.2329, allocations: 18.88 kB / 0.6496 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.288e-05/0.233, allocations: 318.5 kB / 0.6499 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.672e-05/0.233, allocations: 20.3 kB / 0.6499 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.567e-05/0.2331, allocations: 37.5 kB / 0.65 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.917e-05/0.2332, allocations: 57.66 kB / 0.65 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.2332, allocations: 4.625 kB / 0.65 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001247/0.2333, allocations: 83.3 kB / 0.6501 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.2333, allocations: 6 kB / 0.6501 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2333, allocations: 3.438 kB / 0.6501 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.2334, allocations: 3.047 kB / 0.6501 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.424e-05/0.2334, allocations: 17.19 kB / 0.6502 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.2334, allocations: 0.7188 kB / 0.6502 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.876e-05/0.2335, allocations: 8.641 kB / 0.6502 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.2335, allocations: 4.125 kB / 0.6502 GB, free: 54.37 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 5 * 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 4.413e-05/0.2335, allocations: 117.1 kB / 0.6503 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.2335, allocations: 8.141 kB / 0.6503 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.161e-05/0.2336, allocations: 12.75 kB / 0.6503 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2336, allocations: 0.9375 kB / 0.6503 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2336, allocations: 0.8438 kB / 0.6503 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2336, allocations: 4.094 kB / 0.6503 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.173e-05/0.2337, allocations: 140.9 kB / 0.6504 GB, free: 54.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2337, allocations: 2.938 kB / 0.6504 GB, free: 54.08 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.321e-05/0.2337, allocations: 9.094 kB / 0.6504 GB, free: 54.08 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.2337, allocations: 0.7188 kB / 0.6504 GB, free: 54.08 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.2337, allocations: 0.5625 kB / 0.6504 GB, free: 54.08 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.2337, allocations: 3.703 kB / 0.6505 GB, free: 54.08 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2337, allocations: 0.7812 kB / 0.6505 GB, free: 54.08 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.2338, allocations: 182.8 kB / 0.6506 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.173e-06/0.2338, allocations: 2.938 kB / 0.6506 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.2339, allocations: 1.609 kB / 0.6506 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.975e-05/0.2339, allocations: 12.06 kB / 0.6506 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.234, allocations: 5.625 kB / 0.6506 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.234, allocations: 4.516 kB / 0.6507 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.378e-05/0.234, allocations: 88.03 kB / 0.6507 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.234, allocations: 0 / 0.6507 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000145/0.2341, allocations: 13.16 kB / 0.6507 GB, free: 53.87 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 (4): * Single equations (assignments): 4 * 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.0002533/0.2344, allocations: 0.7127 MB / 0.6514 GB, free: 53.21 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001433/0.2345, allocations: 50.95 kB / 0.6515 GB, free: 53.21 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2345, allocations: 0 / 0.6515 GB, free: 53.21 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.89e-05/0.2346, allocations: 31.77 kB / 0.6515 GB, free: 53.21 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.2348, allocations: 8.188 kB / 0.6515 GB, free: 53.21 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000829/0.2357, allocations: 1.328 MB / 0.6528 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.134e-05/0.2357, allocations: 70.34 kB / 0.6529 GB, free: 51.97 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.268e-05/0.2357, allocations: 7.266 kB / 0.6529 GB, free: 51.97 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.2358, allocations: 20.03 kB / 0.6529 GB, free: 51.97 MB / 0.5573 GB Notification: Performance of SimCode: time 7.11e-07/0.2358, allocations: 0 / 0.6529 GB, free: 51.97 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01454/0.2503, allocations: 2.501 MB / 0.6554 GB, free: 51.14 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.392/6.643, allocations: 3.5 kB / 0.6554 GB, free: 51.14 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.32754422351718] Failed to read output from testmodel.py, exit status != 0: 6.721971543505788 6.732641296 6.499726262 Calling exit ...