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.00134/0.00134, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002404/0.002404, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.516/1.516, allocations: 230.6 MB / 253.5 MB, free: 15.13 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.002391/0.002391, allocations: 288.3 kB / 309.8 MB, free: 3.43 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.113/1.113, allocations: 180.6 MB / 0.5338 GB, free: 12.43 MB / 398.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="cs",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.003142/0.003142, allocations: 99.86 kB / 0.7347 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6163/0.6194, allocations: 95.33 MB / 0.8278 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002522/0.6219, allocations: 1.31 MB / 0.8291 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1966/0.8185, allocations: 135.2 MB / 0.9611 GB, free: 1.219 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.675e-05/0.8185, allocations: 4 kB / 0.9611 GB, free: 1.215 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 2.112e-05/0.8186, allocations: 3.938 kB / 0.9611 GB, free: 1.211 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 6.207e-05/0.8186, allocations: 0 / 0.9611 GB, free: 1.211 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004331/0.8191, allocations: 63.66 kB / 0.9612 GB, free: 1.148 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.8192, allocations: 23.86 kB / 0.9612 GB, free: 1.125 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.421e-05/0.8192, allocations: 4 kB / 0.9612 GB, free: 1.121 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.897e-05/0.8193, allocations: 11.98 kB / 0.9612 GB, free: 1.109 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 6.124e-05/0.8193, allocations: 4 kB / 0.9612 GB, free: 1.105 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.8193, allocations: 7.938 kB / 0.9612 GB, free: 1.098 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.8194, allocations: 19.92 kB / 0.9612 GB, free: 1.078 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.8195, allocations: 4 kB / 0.9612 GB, free: 1.074 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 3.057e-05/0.8195, allocations: 4 kB / 0.9612 GB, free: 1.07 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.8196, allocations: 34.7 kB / 0.9613 GB, free: 1.039 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.8196, allocations: 0 / 0.9613 GB, free: 1.039 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8196, allocations: 0 / 0.9613 GB, free: 1.039 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.8196, allocations: 0 / 0.9613 GB, free: 1.039 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.000493/0.8201, allocations: 335.5 kB / 0.9616 GB, free: 0.6602 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.8202, allocations: 12.03 kB / 0.9616 GB, free: 0.6484 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.98e-05/0.8202, allocations: 192 / 0.9616 GB, free: 0.6484 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.711e-05/0.8202, allocations: 34.69 kB / 0.9616 GB, free: 0.6055 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/0.8202, allocations: 4.891 kB / 0.9617 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.8204, allocations: 164.4 kB / 0.9618 GB, free: 412 kB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.325e-05/0.8205, allocations: 34.19 kB / 0.9618 GB, free: 372 kB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.8205, allocations: 12.38 kB / 0.9619 GB, free: 360 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.8207, allocations: 37.81 kB / 0.9619 GB, free: 316 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.8207, allocations: 0 / 0.9619 GB, free: 316 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.8207, allocations: 0 / 0.9619 GB, free: 316 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.8207, allocations: 3.984 kB / 0.9619 GB, free: 312 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.8208, allocations: 15.98 kB / 0.9619 GB, free: 296 kB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.821, allocations: 149.7 kB / 0.962 GB, free: 96 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.8211, allocations: 38.48 kB / 0.9621 GB, free: 48 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.524e-05/0.8212, allocations: 20.94 kB / 0.9621 GB, free: 24 kB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001961/0.8214, allocations: 85.11 kB / 0.9622 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.8214, allocations: 38.48 kB / 0.9622 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.8214, allocations: 0 / 0.9622 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of matching and sorting (n=3): time 0.0002495/0.8217, allocations: 53.62 kB / 0.9623 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.8217, allocations: 59.41 kB / 0.9623 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.045e-05/0.8218, allocations: 97.84 kB / 0.9624 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.8218, allocations: 29.7 kB / 0.9625 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 4.054e-05/0.8218, allocations: 80.14 kB / 0.9625 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.8219, allocations: 11.91 kB / 0.9625 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.8219, allocations: 13.72 kB / 0.9626 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.822, allocations: 314.8 kB / 0.9629 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.02e-05/0.8221, allocations: 12 kB / 0.9629 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.614e-05/0.8221, allocations: 4 kB / 0.9629 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.995e-05/0.8222, allocations: 24.84 kB / 0.9629 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.8222, allocations: 0 / 0.9629 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000135/0.8224, allocations: 57.55 kB / 0.9629 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.8224, allocations: 8 kB / 0.963 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.8224, allocations: 0 / 0.963 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.8224, allocations: 0 / 0.963 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.858e-05/0.8225, allocations: 4 kB / 0.963 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.8225, allocations: 4 kB / 0.963 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.651e-05/0.8225, allocations: 7.938 kB / 0.963 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.8225, allocations: 0 / 0.963 GB, free: 15.05 MB / 0.7012 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.457e-05/0.8226, allocations: 113.3 kB / 0.9631 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.8226, allocations: 7.938 kB / 0.9631 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.8228, allocations: 53.19 kB / 0.9631 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.8228, allocations: 0 / 0.9631 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.8228, allocations: 8.484 kB / 0.9631 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.8228, allocations: 4 kB / 0.9631 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.8229, allocations: 149.7 kB / 0.9633 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.8229, allocations: 7.984 kB / 0.9633 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.224e-05/0.823, allocations: 11.94 kB / 0.9633 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.823, allocations: 3.938 kB / 0.9633 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.823, allocations: 0 / 0.9633 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.823, allocations: 3.938 kB / 0.9633 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.823, allocations: 0 / 0.9633 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.8231, allocations: 85.05 kB / 0.9634 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-05/0.8232, allocations: 85.05 kB / 0.9635 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.8232, allocations: 4 kB / 0.9635 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.737e-05/0.8232, allocations: 0 / 0.9635 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.8233, allocations: 3.984 kB / 0.9635 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-06/0.8233, allocations: 4 kB / 0.9635 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 4.255e-05/0.8233, allocations: 75.28 kB / 0.9636 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/0.8233, allocations: 3.938 kB / 0.9636 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0001905/0.8235, allocations: 8 kB / 0.9636 GB, free: 14.33 MB / 0.7012 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.0005208/0.824, allocations: 0.6319 MB / 0.9642 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0001521/0.8242, allocations: 19.98 kB / 0.9642 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.8242, allocations: 0 / 0.9642 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 4.868e-05/0.8242, allocations: 15.94 kB / 0.9642 GB, free: 13.63 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.8245, allocations: 11.98 kB / 0.9642 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004179/0.8249, allocations: 157.3 kB / 0.9644 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.8252, allocations: 0.6768 MB / 0.965 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 3.318e-05/0.8253, allocations: 8 kB / 0.9651 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.8253, allocations: 7.438 kB / 0.9651 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of SimCode: time 3e-07/0.8253, allocations: 0 / 0.9651 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01777/0.8431, allocations: 1.442 MB / 0.9665 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.131/8.974, allocations: 4.562 kB / 0.9665 GB, free: 11.43 MB / 0.7012 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.080399105034303] Failed to read output from testmodel.py, exit status != 0: 9.098523726977874 9.125980543 8.301271903 Calling exit ...