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.001326/0.001326, allocations: 113.4 kB / 19.73 MB, free: 2.227 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.001427/0.001427, allocations: 218 kB / 23.04 MB, free: 5.059 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.425/1.425, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.002448/0.002448, allocations: 281.2 kB / 313.5 MB, free: 2.789 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.23/1.23, allocations: 180.6 MB / 0.5377 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_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.00269/0.00269, allocations: 94.27 kB / 0.7403 GB, free: 28.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1989, allocations: 95.4 MB / 0.8335 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002701/0.2016, allocations: 1.521 MB / 0.835 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1769/0.3785, allocations: 135.3 MB / 0.9671 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.103e-05/0.3786, allocations: 4 kB / 0.9671 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.391e-05/0.3786, allocations: 3.938 kB / 0.9671 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.679e-05/0.3787, allocations: 11.88 kB / 0.9671 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004283/0.3791, allocations: 67.92 kB / 0.9672 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.3792, allocations: 59.78 kB / 0.9672 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.3793, allocations: 11.98 kB / 0.9672 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.081e-05/0.3794, allocations: 19.81 kB / 0.9672 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.134e-05/0.3794, allocations: 23.86 kB / 0.9673 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.3795, allocations: 8 kB / 0.9673 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.3796, allocations: 27.92 kB / 0.9673 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.3796, allocations: 8 kB / 0.9673 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.411e-05/0.3796, allocations: 27.8 kB / 0.9673 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.3798, allocations: 63.73 kB / 0.9674 GB, free: 15 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3798, allocations: 0 / 0.9674 GB, free: 15 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3798, allocations: 0 / 0.9674 GB, free: 15 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.3798, allocations: 0 / 0.9674 GB, free: 15 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.0006419/0.3805, allocations: 302.1 kB / 0.9677 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.3805, allocations: 13.34 kB / 0.9677 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.415e-05/0.3805, allocations: 192 / 0.9677 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.036e-05/0.3806, allocations: 38.73 kB / 0.9677 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.3806, allocations: 4.938 kB / 0.9677 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.3807, allocations: 110.5 kB / 0.9678 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.3807, allocations: 4.375 kB / 0.9679 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.3808, allocations: 4.375 kB / 0.9679 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/0.3811, allocations: 85.89 kB / 0.9679 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.3811, allocations: 0 / 0.9679 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.3811, allocations: 0 / 0.9679 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3811, allocations: 0 / 0.9679 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/0.3814, allocations: 63.92 kB / 0.968 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004666/0.3819, allocations: 259.8 kB / 0.9682 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.3821, allocations: 70.45 kB / 0.9683 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.3822, allocations: 32.92 kB / 0.9683 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00014/0.3824, allocations: 11.98 kB / 0.9684 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.3824, allocations: 38.56 kB / 0.9684 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.3824, allocations: 0 / 0.9684 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005612/0.383, allocations: 133.5 kB / 0.9685 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.383, allocations: 51.41 kB / 0.9686 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.3831, allocations: 121.8 kB / 0.9687 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.3831, allocations: 25.7 kB / 0.9687 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.13e-05/0.3832, allocations: 92.06 kB / 0.9688 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.3832, allocations: 11.95 kB / 0.9688 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.3833, allocations: 9.719 kB / 0.9688 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3834, allocations: 326.8 kB / 0.9691 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.3836, allocations: 27.97 kB / 0.9692 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.3837, allocations: 35.95 kB / 0.9692 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.384, allocations: 60.8 kB / 0.9692 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.384, allocations: 0 / 0.9692 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003591/0.3843, allocations: 117.5 kB / 0.9694 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.3844, allocations: 4 kB / 0.9694 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.3844, allocations: 3.938 kB / 0.9694 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.3844, allocations: 0 / 0.9694 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.3845, allocations: 15.98 kB / 0.9694 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3845, allocations: 0 / 0.9694 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.928e-05/0.3846, allocations: 11.98 kB / 0.9694 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.3846, allocations: 4 kB / 0.9694 GB, free: 12.75 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 0.0001098/0.3847, allocations: 118.4 kB / 0.9695 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.3847, allocations: 11.94 kB / 0.9695 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003817/0.3851, allocations: 101.6 kB / 0.9696 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3851, allocations: 3.938 kB / 0.9696 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3851, allocations: 0 / 0.9696 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3851, allocations: 4 kB / 0.9696 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.3853, allocations: 148.7 kB / 0.9698 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3853, allocations: 3.984 kB / 0.9698 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.099e-05/0.3854, allocations: 11.98 kB / 0.9698 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3854, allocations: 4 kB / 0.9698 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.3854, allocations: 0 / 0.9698 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3854, allocations: 4 kB / 0.9698 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3854, allocations: 0 / 0.9698 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.3858, allocations: 195.8 kB / 0.97 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.954e-05/0.3859, allocations: 15.89 kB / 0.97 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.3859, allocations: 0 / 0.97 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.386, allocations: 12.03 kB / 0.97 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/0.386, allocations: 7.969 kB / 0.97 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.386, allocations: 4 kB / 0.97 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.689e-05/0.3861, allocations: 103.5 kB / 0.9701 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.3861, allocations: 0 / 0.9701 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002472/0.3863, allocations: 19.98 kB / 0.9701 GB, free: 11.92 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.0007911/0.3871, allocations: 0.7396 MB / 0.9709 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003509/0.3875, allocations: 63.92 kB / 0.9709 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3875, allocations: 0 / 0.9709 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.3877, allocations: 43.89 kB / 0.971 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.388, allocations: 8 kB / 0.971 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.3901, allocations: 1.427 MB / 0.9724 GB, free: 9.531 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.3904, allocations: 0.6807 MB / 0.973 GB, free: 8.824 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.55e-05/0.3905, allocations: 4 kB / 0.973 GB, free: 8.82 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.206e-05/0.3905, allocations: 15.44 kB / 0.973 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of SimCode: time 4.71e-07/0.3905, allocations: 0 / 0.973 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.4137, allocations: 2.235 MB / 0.9752 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.41, allocations: 5.438 kB / 0.9752 GB, free: 6.727 MB / 0.7169 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.995615151012316] Failed to read output from testmodel.py, exit status != 0: 11.566174470004626 11.946410454 11.563743049 Calling exit ...