Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.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.00132/0.00132, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001506/0.001506, allocations: 212 kB / 22.25 MB, free: 5.117 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.448/1.448, allocations: 230.6 MB / 256 MB, free: 7.984 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.002482/0.002482, allocations: 279.7 kB / 312.7 MB, free: 2.809 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.281/1.281, allocations: 180.6 MB / 0.5369 GB, free: 13.07 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.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX",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.002852/0.002852, allocations: 102.3 kB / 0.7396 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1881, allocations: 95.38 MB / 0.8327 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002792/0.1909, allocations: 1.529 MB / 0.8342 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1867/0.3776, allocations: 135.3 MB / 0.9663 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.864e-05/0.3777, allocations: 4 kB / 0.9663 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.1e-05/0.3778, allocations: 7.938 kB / 0.9663 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.765e-05/0.3778, allocations: 11.81 kB / 0.9663 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004211/0.3783, allocations: 67.92 kB / 0.9664 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.3784, allocations: 55.69 kB / 0.9664 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3785, allocations: 19.91 kB / 0.9665 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.934e-05/0.3785, allocations: 19.92 kB / 0.9665 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.596e-05/0.3786, allocations: 23.92 kB / 0.9665 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.3786, allocations: 4 kB / 0.9665 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.636e-05/0.3787, allocations: 23.98 kB / 0.9665 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.3787, allocations: 8 kB / 0.9665 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.094e-05/0.3788, allocations: 23.86 kB / 0.9666 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.3789, allocations: 63.73 kB / 0.9666 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3789, allocations: 3.938 kB / 0.9666 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3789, allocations: 0 / 0.9666 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.3789, allocations: 0 / 0.9666 GB, free: 15.05 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005553/0.3795, allocations: 295.1 kB / 0.9669 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.3795, allocations: 17.34 kB / 0.9669 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.418e-05/0.3796, allocations: 38.73 kB / 0.967 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.943e-05/0.3796, allocations: 4.938 kB / 0.967 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.3797, allocations: 110.5 kB / 0.9671 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.3797, allocations: 384 / 0.9671 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.527e-06/0.3798, allocations: 384 / 0.9671 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.38, allocations: 78.2 kB / 0.9671 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.38, allocations: 3.938 kB / 0.9671 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.38, allocations: 8 kB / 0.9672 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.38, allocations: 7.922 kB / 0.9672 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002809/0.3803, allocations: 63.92 kB / 0.9672 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.3808, allocations: 259.8 kB / 0.9675 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.381, allocations: 54.53 kB / 0.9675 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.3811, allocations: 40.86 kB / 0.9676 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/0.3813, allocations: 11.98 kB / 0.9676 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.3813, allocations: 34.56 kB / 0.9676 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3813, allocations: 4 kB / 0.9676 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005714/0.3819, allocations: 133.5 kB / 0.9677 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.3819, allocations: 51.41 kB / 0.9678 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.382, allocations: 117.8 kB / 0.9679 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.3821, allocations: 29.7 kB / 0.9679 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.288e-05/0.3821, allocations: 92.12 kB / 0.968 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.3821, allocations: 7.953 kB / 0.968 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/0.3822, allocations: 17.66 kB / 0.968 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3823, allocations: 322.8 kB / 0.9683 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.3825, allocations: 31.91 kB / 0.9684 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.3826, allocations: 35.95 kB / 0.9684 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/0.3829, allocations: 64.8 kB / 0.9685 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3829, allocations: 0 / 0.9685 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003128/0.3832, allocations: 101.6 kB / 0.9686 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.3832, allocations: 14.19 kB / 0.9686 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3832, allocations: 3.984 kB / 0.9686 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3832, allocations: 0 / 0.9686 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.3834, allocations: 15.98 kB / 0.9686 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.3834, allocations: 3.938 kB / 0.9686 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.826e-05/0.3834, allocations: 11.98 kB / 0.9686 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.3834, allocations: 4 kB / 0.9686 GB, free: 12.81 MB / 0.7169 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 (3): * Single equations (assignments): 3 * 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 9.941e-05/0.3835, allocations: 118.4 kB / 0.9687 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.3836, allocations: 7.953 kB / 0.9687 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003597/0.3839, allocations: 105.6 kB / 0.9688 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3839, allocations: 0 / 0.9688 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3839, allocations: 0 / 0.9688 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3839, allocations: 0 / 0.9688 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.3841, allocations: 152.7 kB / 0.969 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3841, allocations: 4 kB / 0.969 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.578e-05/0.3842, allocations: 11.98 kB / 0.969 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3842, allocations: 0 / 0.969 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.3842, allocations: 8 kB / 0.969 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.3842, allocations: 3.938 kB / 0.969 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3842, allocations: 384 / 0.969 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.3846, allocations: 203.4 kB / 0.9692 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.527e-05/0.3846, allocations: 11.89 kB / 0.9692 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.3846, allocations: 3.938 kB / 0.9692 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.3847, allocations: 15.98 kB / 0.9692 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.3848, allocations: 3.984 kB / 0.9692 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.3848, allocations: 0 / 0.9692 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.273e-05/0.3848, allocations: 95.7 kB / 0.9693 GB, free: 12 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3848, allocations: 4 kB / 0.9693 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000228/0.3851, allocations: 12 kB / 0.9694 GB, free: 11.98 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 (3): * Single equations (assignments): 3 * 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.0007459/0.3858, allocations: 0.7396 MB / 0.9701 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003192/0.3861, allocations: 67.92 kB / 0.9701 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3861, allocations: 0 / 0.9701 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.3863, allocations: 39.95 kB / 0.9702 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.3866, allocations: 20.2 kB / 0.9702 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.3885, allocations: 1.417 MB / 0.9716 GB, free: 9.594 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.3888, allocations: 0.6807 MB / 0.9722 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.159e-05/0.3888, allocations: 0 / 0.9722 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.644e-05/0.3889, allocations: 19.44 kB / 0.9723 GB, free: 8.867 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.3889, allocations: 0 / 0.9723 GB, free: 8.867 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02777/0.4166, allocations: 2.211 MB / 0.9744 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.81, allocations: 3.25 kB / 0.9744 GB, free: 6.805 MB / 0.7169 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX_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_Density_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.729972275999899] Failed to read output from testmodel.py, exit status != 0: 10.920003043000179 11.382817304 11.000727995 Calling exit ...