Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.001728/0.001728, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002079/0.002079, allocations: 212.3 kB / 22.24 MB, free: 4.855 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.781 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.002647/0.002647, allocations: 293.3 kB / 312.7 MB, free: 2.594 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.264/1.264, allocations: 180.6 MB / 0.5369 GB, free: 14.42 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.MassFraction_pTphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi",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.004572/0.004572, allocations: 99.09 kB / 0.7395 GB, free: 28.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1962, allocations: 95.4 MB / 0.8326 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003128/0.1993, allocations: 1.622 MB / 0.8342 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1782/0.3775, allocations: 133.2 MB / 0.9643 GB, free: 1.004 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.3777, allocations: 4 kB / 0.9643 GB, free: 1 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.3778, allocations: 19.8 kB / 0.9643 GB, free: 0.9805 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0003179/0.3782, allocations: 35.72 kB / 0.9644 GB, free: 0.9453 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005023/0.3787, allocations: 155.4 kB / 0.9645 GB, free: 0.793 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0002313/0.3789, allocations: 127.5 kB / 0.9646 GB, free: 0.668 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.379, allocations: 17.58 kB / 0.9647 GB, free: 0.6484 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001473/0.3805, allocations: 188.2 kB / 0.9648 GB, free: 500 kB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 8.052e-05/0.3806, allocations: 35.84 kB / 0.9649 GB, free: 464 kB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.3806, allocations: 8 kB / 0.9649 GB, free: 456 kB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004318/0.381, allocations: 171.7 kB / 0.965 GB, free: 284 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 5.335e-05/0.3811, allocations: 27.86 kB / 0.9651 GB, free: 256 kB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/0.3811, allocations: 35.86 kB / 0.9651 GB, free: 220 kB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0004261/0.3816, allocations: 199.2 kB / 0.9653 GB, free: 20 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3816, allocations: 0 / 0.9653 GB, free: 20 kB / 0.7012 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3816, allocations: 0 / 0.9653 GB, free: 20 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3816, allocations: 0 / 0.9653 GB, free: 20 kB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007063/0.3823, allocations: 373.5 kB / 0.9656 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.3823, allocations: 9.344 kB / 0.9657 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.565e-05/0.3824, allocations: 38.75 kB / 0.9657 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000996/0.3834, allocations: 87.78 kB / 0.9658 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.3836, allocations: 156.9 kB / 0.9659 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.3837, allocations: 4 kB / 0.9659 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.3837, allocations: 12 kB / 0.9659 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004498/0.3841, allocations: 131.2 kB / 0.9661 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3841, allocations: 0 / 0.9661 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.3842, allocations: 7.938 kB / 0.9661 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3842, allocations: 0 / 0.9661 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000556/0.3847, allocations: 135.9 kB / 0.9662 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008343/0.3856, allocations: 371.6 kB / 0.9666 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007051/0.3863, allocations: 178.5 kB / 0.9667 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.3865, allocations: 72.8 kB / 0.9668 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.3865, allocations: 0 / 0.9668 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.3866, allocations: 34.5 kB / 0.9668 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.3866, allocations: 0 / 0.9668 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.000807/0.3874, allocations: 217.4 kB / 0.967 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.3874, allocations: 63.34 kB / 0.9671 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.3876, allocations: 144.7 kB / 0.9672 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.3876, allocations: 29.7 kB / 0.9673 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.305e-05/0.3877, allocations: 104.1 kB / 0.9674 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.3877, allocations: 23.89 kB / 0.9674 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.942e-05/0.3878, allocations: 29.7 kB / 0.9674 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3879, allocations: 326.8 kB / 0.9677 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.3881, allocations: 47.95 kB / 0.9678 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/0.3884, allocations: 125.9 kB / 0.9679 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004734/0.3889, allocations: 121.2 kB / 0.968 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3889, allocations: 4 kB / 0.968 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005536/0.3894, allocations: 169.4 kB / 0.9682 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.3895, allocations: 10.19 kB / 0.9682 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3895, allocations: 0 / 0.9682 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3895, allocations: 0 / 0.9682 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.3897, allocations: 27.97 kB / 0.9682 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3897, allocations: 0 / 0.9682 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.3899, allocations: 19.94 kB / 0.9682 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.3899, allocations: 15.92 kB / 0.9682 GB, free: 12.78 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 (8): * Single equations (assignments): 8 * 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.0001017/0.39, allocations: 114.5 kB / 0.9684 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.921e-05/0.39, allocations: 7.953 kB / 0.9684 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.922e-05/0.3901, allocations: 16.72 kB / 0.9684 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.3901, allocations: 0 / 0.9684 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.3901, allocations: 3.984 kB / 0.9684 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3901, allocations: 0 / 0.9684 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009056/0.391, allocations: 437.3 kB / 0.9688 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.391, allocations: 0 / 0.9688 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.3912, allocations: 23.97 kB / 0.9688 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3912, allocations: 0 / 0.9688 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.3912, allocations: 7.938 kB / 0.9688 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.3912, allocations: 11.92 kB / 0.9688 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3912, allocations: 0 / 0.9688 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005967/0.3918, allocations: 251.3 kB / 0.9691 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.587e-05/0.3919, allocations: 15.89 kB / 0.9691 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.3919, allocations: 0 / 0.9691 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.3921, allocations: 23.92 kB / 0.9691 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.3921, allocations: 11.92 kB / 0.9691 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.3921, allocations: 4 kB / 0.9691 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.464e-05/0.3922, allocations: 115.2 kB / 0.9692 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.3922, allocations: 0 / 0.9692 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002731/0.3925, allocations: 23.94 kB / 0.9693 GB, free: 11.66 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 (8): * Single equations (assignments): 8 * 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.000982/0.3935, allocations: 0.806 MB / 0.9701 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005313/0.394, allocations: 119.9 kB / 0.9702 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.394, allocations: 4 kB / 0.9702 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.3942, allocations: 67.88 kB / 0.9702 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.3946, allocations: 40.39 kB / 0.9703 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/0.3978, allocations: 1.72 MB / 0.972 GB, free: 8.801 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.3979, allocations: 84.19 kB / 0.972 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001563/0.398, allocations: 36.42 kB / 0.9721 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.3981, allocations: 35.42 kB / 0.9721 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of SimCode: time 1.132e-06/0.3981, allocations: 0 / 0.9721 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02908/0.4272, allocations: 4.085 MB / 0.9761 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.51, allocations: 15.25 kB / 0.9761 GB, free: 4.707 MB / 0.7169 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.110704554244876] Failed to read output from testmodel.py, exit status != 0: 11.615482725203037 11.968800843 11.584223829 Calling exit ...