Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.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.001913/0.001913, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.002087/0.002087, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.957 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.002604/0.002604, allocations: 279.6 kB / 312.7 MB, free: 2.77 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.244/1.244, allocations: 180.6 MB / 0.5369 GB, free: 12.99 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.Functions.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_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.00362/0.00362, allocations: 111.1 kB / 0.7396 GB, free: 28.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1999, allocations: 95.39 MB / 0.8327 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002668/0.2026, allocations: 1.296 MB / 0.834 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1772/0.3797, allocations: 135.2 MB / 0.9661 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.206e-05/0.3798, allocations: 4 kB / 0.9661 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.999e-05/0.3798, allocations: 0 / 0.9661 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.159e-05/0.3799, allocations: 11.91 kB / 0.9661 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000375/0.3802, allocations: 63.89 kB / 0.9661 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.228e-05/0.3803, allocations: 27.75 kB / 0.9662 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.297e-05/0.3804, allocations: 0 / 0.9662 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.61e-05/0.3804, allocations: 4 kB / 0.9662 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.997e-05/0.3805, allocations: 19.86 kB / 0.9662 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.3805, allocations: 4 kB / 0.9662 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.683e-05/0.3806, allocations: 19.92 kB / 0.9662 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.272e-05/0.3806, allocations: 0 / 0.9662 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.89e-05/0.3806, allocations: 15.92 kB / 0.9662 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.3807, allocations: 15.98 kB / 0.9662 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.3807, allocations: 4 kB / 0.9662 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3807, allocations: 0 / 0.9662 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.3807, allocations: 0 / 0.9662 GB, free: 15.42 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003953/0.3811, allocations: 255 kB / 0.9665 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3811, allocations: 13.34 kB / 0.9665 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.566e-05/0.3812, allocations: 38.73 kB / 0.9665 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.634e-05/0.3812, allocations: 4.891 kB / 0.9665 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.3813, allocations: 110.5 kB / 0.9666 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.203e-05/0.3814, allocations: 59.97 kB / 0.9667 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.3814, allocations: 384 / 0.9667 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.3815, allocations: 42 kB / 0.9667 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.3815, allocations: 0 / 0.9667 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.3816, allocations: 8 kB / 0.9667 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-06/0.3816, allocations: 0 / 0.9667 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.928e-05/0.3816, allocations: 15.92 kB / 0.9668 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.3818, allocations: 128.7 kB / 0.9669 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.3819, allocations: 42.53 kB / 0.9669 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.709e-05/0.3819, allocations: 12.86 kB / 0.9669 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/0.3821, allocations: 12.08 kB / 0.967 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.3821, allocations: 34.5 kB / 0.967 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.3821, allocations: 0 / 0.967 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002233/0.3823, allocations: 61.67 kB / 0.967 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.3824, allocations: 51.41 kB / 0.9671 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.84e-05/0.3824, allocations: 97.86 kB / 0.9672 GB, free: 14.28 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.3825, allocations: 29.64 kB / 0.9672 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.626e-05/0.3825, allocations: 80.14 kB / 0.9673 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.3825, allocations: 11.89 kB / 0.9673 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.3826, allocations: 17.72 kB / 0.9673 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3827, allocations: 310.8 kB / 0.9676 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.695e-05/0.3827, allocations: 15.98 kB / 0.9676 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.668e-05/0.3828, allocations: 8 kB / 0.9676 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.936e-05/0.3829, allocations: 20.84 kB / 0.9677 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3829, allocations: 0 / 0.9677 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001221/0.383, allocations: 49.69 kB / 0.9677 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.383, allocations: 7.938 kB / 0.9677 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.383, allocations: 3.938 kB / 0.9677 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.383, allocations: 0 / 0.9677 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.297e-05/0.3831, allocations: 19.92 kB / 0.9677 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3831, allocations: 0 / 0.9677 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.769e-05/0.3831, allocations: 0 / 0.9677 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.3831, allocations: 0 / 0.9677 GB, free: 13.68 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 8.048e-05/0.3832, allocations: 110.5 kB / 0.9678 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.009e-05/0.3832, allocations: 3.938 kB / 0.9678 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001561/0.3834, allocations: 61.34 kB / 0.9679 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3834, allocations: 4 kB / 0.9679 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3834, allocations: 4 kB / 0.9679 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3834, allocations: 0 / 0.9679 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.3835, allocations: 128.7 kB / 0.968 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3835, allocations: 0 / 0.968 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.438e-05/0.3836, allocations: 7.938 kB / 0.968 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3836, allocations: 7.875 kB / 0.968 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.3836, allocations: 4 kB / 0.9681 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3836, allocations: 0 / 0.9681 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.3836, allocations: 4.547 kB / 0.9681 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.3837, allocations: 73.12 kB / 0.9681 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.681e-05/0.3838, allocations: 11.97 kB / 0.9681 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.3838, allocations: 3.984 kB / 0.9681 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.171e-05/0.3838, allocations: 8 kB / 0.9681 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.3838, allocations: 0 / 0.9681 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-06/0.3838, allocations: 0 / 0.9681 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.926e-05/0.3839, allocations: 79.28 kB / 0.9682 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3839, allocations: 0 / 0.9682 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001887/0.3841, allocations: 19.92 kB / 0.9682 GB, free: 13.08 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.0004936/0.3846, allocations: 0.6202 MB / 0.9688 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.3847, allocations: 19.98 kB / 0.9689 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3847, allocations: 4 kB / 0.9689 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.584e-05/0.3848, allocations: 15.92 kB / 0.9689 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.385, allocations: 8 kB / 0.9689 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004095/0.3854, allocations: 157.8 kB / 0.969 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.3857, allocations: 0.6729 MB / 0.9697 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.322e-05/0.3858, allocations: 4 kB / 0.9697 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.437e-05/0.3858, allocations: 15.42 kB / 0.9697 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.3858, allocations: 3.938 kB / 0.9697 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03954/0.4253, allocations: 1.485 MB / 0.9712 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.86, allocations: 7.938 kB / 0.9712 GB, free: 10.11 MB / 0.7169 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.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_Functions_Examples_Density_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.693672668003273] Failed to read output from testmodel.py, exit status != 0: 10.96375971299858 11.359518574 10.975854832 Calling exit ...