Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.001941/0.001941, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.00242/0.00242, allocations: 209.9 kB / 22.24 MB, free: 5.262 MB / 14.72 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.00253/0.00253, allocations: 300 kB / 312.7 MB, free: 2.582 MB / 238.1 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 1.294/1.294, allocations: 180.6 MB / 0.5369 GB, free: 14.44 MB / 382.1 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.TWetBul_TDryBulPhi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002923/0.002923, allocations: 110 kB / 0.7395 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1797, allocations: 95.37 MB / 0.8326 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003719/0.1834, allocations: 1.883 MB / 0.8345 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1902/0.3735, allocations: 136.7 MB / 0.968 GB, free: 13.17 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.3737, allocations: 3.938 kB / 0.968 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.3739, allocations: 31.72 kB / 0.968 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003041/0.3742, allocations: 67.42 kB / 0.9681 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007825/0.375, allocations: 272.1 kB / 0.9683 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003214/0.3753, allocations: 267.1 kB / 0.9686 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.3755, allocations: 46.48 kB / 0.9686 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0015/0.377, allocations: 262.8 kB / 0.9689 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.3771, allocations: 79.61 kB / 0.969 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.609e-05/0.3772, allocations: 19.98 kB / 0.969 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004239/0.3776, allocations: 179.7 kB / 0.9692 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.195e-05/0.3777, allocations: 43.83 kB / 0.9692 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.812e-05/0.3778, allocations: 75.66 kB / 0.9693 GB, free: 11.87 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004876/0.3782, allocations: 306.8 kB / 0.9696 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3782, allocations: 0 / 0.9696 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3782, allocations: 0 / 0.9696 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.3783, allocations: 0 / 0.9696 GB, free: 11.57 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009934/0.3792, allocations: 469.2 kB / 0.97 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3793, allocations: 13.33 kB / 0.97 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.725e-05/0.3793, allocations: 46.55 kB / 0.9701 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.3805, allocations: 111.8 kB / 0.9702 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.3808, allocations: 178.7 kB / 0.9704 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.942e-05/0.3808, allocations: 63.73 kB / 0.9704 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.94e-05/0.3809, allocations: 20 kB / 0.9704 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005683/0.3814, allocations: 314.6 kB / 0.9707 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3815, allocations: 0 / 0.9707 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.3815, allocations: 8 kB / 0.9707 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.3815, allocations: 12 kB / 0.9708 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004589/0.382, allocations: 167.7 kB / 0.9709 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.3838, allocations: 1.11 MB / 0.972 GB, free: 8.898 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007614/0.3845, allocations: 198.7 kB / 0.9722 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.3847, allocations: 72.75 kB / 0.9723 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.3847, allocations: 0 / 0.9723 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.3848, allocations: 42.5 kB / 0.9723 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 9.42e-07/0.3848, allocations: 3.938 kB / 0.9723 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.002619/0.3874, allocations: 490.7 kB / 0.9728 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.3874, allocations: 51.41 kB / 0.9728 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.3877, allocations: 216.1 kB / 0.973 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.3877, allocations: 25.7 kB / 0.973 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.3878, allocations: 144.2 kB / 0.9732 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/0.3879, allocations: 47.58 kB / 0.9732 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.386e-05/0.388, allocations: 49.64 kB / 0.9733 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.3882, allocations: 334.7 kB / 0.9736 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.3884, allocations: 67.94 kB / 0.9737 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.3887, allocations: 153.4 kB / 0.9738 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004401/0.3891, allocations: 200.8 kB / 0.974 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3891, allocations: 0 / 0.974 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001497/0.3906, allocations: 378.8 kB / 0.9744 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.3906, allocations: 8 kB / 0.9744 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3906, allocations: 3.938 kB / 0.9744 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.3918, allocations: 161.8 kB / 0.9745 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.392, allocations: 39.97 kB / 0.9746 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004742/0.3967, allocations: 3.032 MB / 0.9775 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004131/0.3972, allocations: 35.77 kB / 0.9776 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.55e-05/0.3972, allocations: 11.98 kB / 0.9776 GB, free: 2.797 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002072/0.3974, allocations: 133.7 kB / 0.9777 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.423e-05/0.3975, allocations: 15.91 kB / 0.9777 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.3988, allocations: 378.4 kB / 0.9781 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3988, allocations: 3.938 kB / 0.9781 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.3988, allocations: 192 / 0.9781 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3988, allocations: 8 kB / 0.9781 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.3991, allocations: 228.5 kB / 0.9783 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3991, allocations: 0 / 0.9783 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.3993, allocations: 19.98 kB / 0.9783 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007938/0.4001, allocations: 141.5 kB / 0.9785 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.4001, allocations: 4 kB / 0.9785 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4577/0.8578, allocations: 3.074 MB / 0.9815 GB, free: 149.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.8578, allocations: 0.5 kB / 0.9815 GB, free: 149.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.8591, allocations: 433.5 kB / 0.9819 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.8593, allocations: 40.94 kB / 0.9819 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.8593, allocations: 2.484 kB / 0.9819 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003021/0.8596, allocations: 17.03 kB / 0.9819 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.8597, allocations: 19.52 kB / 0.982 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.8597, allocations: 7.234 kB / 0.982 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002239/0.86, allocations: 156.5 kB / 0.9821 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.86, allocations: 0 / 0.9821 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000484/0.8604, allocations: 81.48 kB / 0.9822 GB, free: 149.4 MB / 0.7169 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001522/0.862, allocations: 0.9731 MB / 0.9831 GB, free: 148.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001018/0.863, allocations: 438.3 kB / 0.9836 GB, free: 148.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.863, allocations: 0 / 0.9836 GB, free: 148.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006301/0.8636, allocations: 357.9 kB / 0.9839 GB, free: 148.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.8641, allocations: 61.02 kB / 0.984 GB, free: 148.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004742/0.8688, allocations: 2.514 MB / 0.9864 GB, free: 146.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.8689, allocations: 121.5 kB / 0.9865 GB, free: 146.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002116/0.8691, allocations: 44.69 kB / 0.9866 GB, free: 146.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.8692, allocations: 57.47 kB / 0.9866 GB, free: 146.8 MB / 0.7169 GB Notification: Performance of SimCode: time 9.22e-07/0.8692, allocations: 0 / 0.9866 GB, free: 146.8 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04232/0.9116, allocations: 8.05 MB / 0.9945 GB, free: 145 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.81, allocations: 4.156 kB / 0.9945 GB, free: 145 MB / 0.7169 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_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_TWetBul_TDryBulPhi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.304051406215876] Failed to read output from testmodel.py, exit status != 0: 13.935219225939363 13.951086473 13.57033877 Calling exit ...