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.001317/0.001317, 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.00199/0.00199, allocations: 212.5 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.742 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.00266/0.00266, allocations: 285.7 kB / 312.7 MB, free: 2.57 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.272/1.272, allocations: 180.6 MB / 0.5369 GB, free: 14.47 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.002881/0.002881, allocations: 91.11 kB / 0.7395 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2383, allocations: 95.39 MB / 0.8326 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002555/0.2408, allocations: 1.3 MB / 0.8339 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1487/0.3895, allocations: 115.7 MB / 0.947 GB, free: 2.789 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.386e-05/0.3896, allocations: 0 / 0.947 GB, free: 2.789 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.3896, allocations: 0 / 0.947 GB, free: 2.789 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 4.101e-05/0.3896, allocations: 7.922 kB / 0.947 GB, free: 2.781 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.3899, allocations: 55.97 kB / 0.947 GB, free: 2.727 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 8.118e-05/0.39, allocations: 27.69 kB / 0.947 GB, free: 2.703 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.588e-05/0.3901, allocations: 4 kB / 0.947 GB, free: 2.699 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 3.669e-05/0.3901, allocations: 7.984 kB / 0.9471 GB, free: 2.691 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 5.133e-05/0.3901, allocations: 11.92 kB / 0.9471 GB, free: 2.68 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.3902, allocations: 4 kB / 0.9471 GB, free: 2.676 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 9.92e-05/0.3903, allocations: 23.92 kB / 0.9471 GB, free: 2.652 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.3903, allocations: 0 / 0.9471 GB, free: 2.652 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 2.266e-05/0.3903, allocations: 4 kB / 0.9471 GB, free: 2.648 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 9.838e-05/0.3904, allocations: 31.91 kB / 0.9471 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3904, allocations: 0 / 0.9471 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3904, allocations: 0 / 0.9471 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.3904, allocations: 0 / 0.9471 GB, free: 2.617 MB / 0.6856 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.0003901/0.3908, allocations: 255.7 kB / 0.9474 GB, free: 2.336 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3908, allocations: 9.344 kB / 0.9474 GB, free: 2.328 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.436e-05/0.3909, allocations: 38.75 kB / 0.9474 GB, free: 2.281 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.579e-05/0.3909, allocations: 4.891 kB / 0.9474 GB, free: 2.277 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.905e-05/0.391, allocations: 110.5 kB / 0.9475 GB, free: 2.145 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-05/0.3911, allocations: 55.97 kB / 0.9476 GB, free: 2.078 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.3911, allocations: 8.359 kB / 0.9476 GB, free: 2.07 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.3912, allocations: 41.98 kB / 0.9476 GB, free: 2.023 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.3912, allocations: 0 / 0.9476 GB, free: 2.023 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.603e-06/0.3912, allocations: 0 / 0.9476 GB, free: 2.023 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.3912, allocations: 0 / 0.9476 GB, free: 2.023 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.806e-05/0.3913, allocations: 15.94 kB / 0.9476 GB, free: 2.008 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.3915, allocations: 136.7 kB / 0.9478 GB, free: 1.832 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.3916, allocations: 30.61 kB / 0.9478 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.592e-05/0.3916, allocations: 8.859 kB / 0.9478 GB, free: 1.781 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001257/0.3917, allocations: 12.08 kB / 0.9478 GB, free: 1.77 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.3918, allocations: 38.44 kB / 0.9479 GB, free: 1.723 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.3918, allocations: 4 kB / 0.9479 GB, free: 1.719 MB / 0.6856 GB Notification: Performance of matching and sorting (n=3): time 0.0002198/0.392, allocations: 61.61 kB / 0.9479 GB, free: 1.652 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.392, allocations: 55.41 kB / 0.948 GB, free: 1.586 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.175e-05/0.3921, allocations: 93.86 kB / 0.9481 GB, free: 1.484 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.3921, allocations: 25.7 kB / 0.9481 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.3922, allocations: 80.14 kB / 0.9482 GB, free: 1.371 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.3923, allocations: 23.88 kB / 0.9482 GB, free: 1.348 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.3923, allocations: 13.72 kB / 0.9482 GB, free: 1.328 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3924, allocations: 310.8 kB / 0.9485 GB, free: 1.016 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.664e-05/0.3925, allocations: 11.98 kB / 0.9485 GB, free: 1.004 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.635e-05/0.3925, allocations: 4 kB / 0.9485 GB, free: 1 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.688e-05/0.3926, allocations: 32.78 kB / 0.9485 GB, free: 0.9648 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3926, allocations: 0 / 0.9485 GB, free: 0.9648 MB / 0.6856 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001238/0.3927, allocations: 45.69 kB / 0.9486 GB, free: 0.9141 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3927, allocations: 11.94 kB / 0.9486 GB, free: 0.9023 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.3927, allocations: 0 / 0.9486 GB, free: 0.9023 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.3928, allocations: 0 / 0.9486 GB, free: 0.9023 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.208e-05/0.3928, allocations: 7.984 kB / 0.9486 GB, free: 0.8945 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.3928, allocations: 0 / 0.9486 GB, free: 0.8945 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.155e-05/0.3929, allocations: 4 kB / 0.9486 GB, free: 0.8906 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.3929, allocations: 0.5156 kB / 0.9486 GB, free: 0.8906 MB / 0.6856 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 7.732e-05/0.3929, allocations: 114.5 kB / 0.9487 GB, free: 0.7695 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.306e-05/0.3929, allocations: 7.938 kB / 0.9487 GB, free: 0.7617 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001585/0.3931, allocations: 61.28 kB / 0.9488 GB, free: 0.6875 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.3931, allocations: 0 / 0.9488 GB, free: 0.6875 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3931, allocations: 0 / 0.9488 GB, free: 0.6875 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3931, allocations: 0 / 0.9488 GB, free: 0.6875 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.3932, allocations: 128.8 kB / 0.9489 GB, free: 0.5195 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3932, allocations: 0 / 0.9489 GB, free: 0.5195 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.445e-05/0.3933, allocations: 11.94 kB / 0.9489 GB, free: 0.5078 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.3933, allocations: 3.938 kB / 0.9489 GB, free: 0.5039 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.3933, allocations: 4 kB / 0.9489 GB, free: 0.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3933, allocations: 0 / 0.9489 GB, free: 0.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3933, allocations: 0 / 0.9489 GB, free: 0.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.3934, allocations: 85 kB / 0.949 GB, free: 408 kB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 3.102e-05/0.3935, allocations: 11.88 kB / 0.949 GB, free: 396 kB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.3935, allocations: 0 / 0.949 GB, free: 396 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.056e-05/0.3935, allocations: 7.984 kB / 0.949 GB, free: 388 kB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.868e-05/0.3935, allocations: 0 / 0.949 GB, free: 388 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.3935, allocations: 0 / 0.949 GB, free: 388 kB / 0.6856 GB Notification: Performance of sorting global known variables: time 4.328e-05/0.3936, allocations: 83.28 kB / 0.9491 GB, free: 304 kB / 0.6856 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3936, allocations: 4 kB / 0.9491 GB, free: 300 kB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0001863/0.3938, allocations: 11.94 kB / 0.9491 GB, free: 288 kB / 0.6856 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.0005089/0.3943, allocations: 0.6202 MB / 0.9497 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.000136/0.3944, allocations: 19.92 kB / 0.9497 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3944, allocations: 0 / 0.9497 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 4.714e-05/0.3945, allocations: 11.98 kB / 0.9498 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.3947, allocations: 8.562 kB / 0.9498 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003947/0.3951, allocations: 161.8 kB / 0.9499 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.859e-05/0.3951, allocations: 55.36 kB / 0.95 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 3.12e-05/0.3952, allocations: 4 kB / 0.95 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/0.3952, allocations: 11.44 kB / 0.95 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of SimCode: time 4.71e-07/0.3952, allocations: 4 kB / 0.95 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02818/0.4234, allocations: 1.923 MB / 0.9519 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.48, allocations: 7.562 kB / 0.9519 GB, free: 13.52 MB / 0.7012 GB " [Timeout remaining time 648] (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.89334808383137] Failed to read output from testmodel.py, exit status != 0: 11.590959038119763 11.620136204 11.224758937 Calling exit ...