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.001309/0.001309, allocations: 110.4 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.001614/0.001614, allocations: 220.1 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.984 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.002701/0.002701, allocations: 290.2 kB / 312.7 MB, free: 2.898 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.26/1.26, allocations: 180.6 MB / 0.5369 GB, free: 13.09 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.002882/0.002882, allocations: 109.6 kB / 0.7396 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1933, allocations: 95.39 MB / 0.8327 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003543/0.1968, allocations: 1.677 MB / 0.8344 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.6199/0.8167, allocations: 154.9 MB / 0.9856 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.8168, allocations: 2.844 kB / 0.9856 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.8169, allocations: 19.62 kB / 0.9857 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.8172, allocations: 40.22 kB / 0.9857 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000478/0.8177, allocations: 153.5 kB / 0.9859 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.8179, allocations: 121.3 kB / 0.986 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.818, allocations: 18.86 kB / 0.986 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/0.8194, allocations: 183.6 kB / 0.9862 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.262e-05/0.8195, allocations: 46.14 kB / 0.9862 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.8195, allocations: 8.125 kB / 0.9862 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000403/0.8199, allocations: 188.6 kB / 0.9864 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.129e-05/0.82, allocations: 23.41 kB / 0.9864 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.232e-05/0.82, allocations: 44.2 kB / 0.9865 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004131/0.8204, allocations: 195.6 kB / 0.9866 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.8204, allocations: 1.812 kB / 0.9866 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8204, allocations: 1.094 kB / 0.9866 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.8204, allocations: 0.8438 kB / 0.9866 GB, free: 3.547 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000867/0.8213, allocations: 373.4 kB / 0.987 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.8214, allocations: 11.09 kB / 0.987 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.901e-05/0.8214, allocations: 41.36 kB / 0.9871 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.8225, allocations: 92.33 kB / 0.9871 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.8228, allocations: 152.5 kB / 0.9873 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.8228, allocations: 2.938 kB / 0.9873 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.8228, allocations: 10.66 kB / 0.9873 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004081/0.8232, allocations: 131.1 kB / 0.9874 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.8233, allocations: 0.9062 kB / 0.9874 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.8233, allocations: 4.875 kB / 0.9874 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.8233, allocations: 2.906 kB / 0.9874 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005042/0.8238, allocations: 141.9 kB / 0.9876 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008145/0.8246, allocations: 380.7 kB / 0.9879 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006713/0.8253, allocations: 168.8 kB / 0.9881 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.8255, allocations: 76.05 kB / 0.9882 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.8255, allocations: 8.844 kB / 0.9882 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.8255, allocations: 36.36 kB / 0.9882 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.814e-06/0.8255, allocations: 0.9375 kB / 0.9882 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0007905/0.8263, allocations: 217.7 kB / 0.9884 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.8264, allocations: 54.38 kB / 0.9885 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.8265, allocations: 145.4 kB / 0.9886 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.8265, allocations: 29.61 kB / 0.9886 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.895e-05/0.8266, allocations: 109.2 kB / 0.9887 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.8267, allocations: 28.31 kB / 0.9888 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/0.8267, allocations: 23.69 kB / 0.9888 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.8269, allocations: 326.2 kB / 0.9891 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.8271, allocations: 55.3 kB / 0.9892 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.8273, allocations: 77.88 kB / 0.9892 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000407/0.8277, allocations: 122.1 kB / 0.9893 GB, free: 18 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8277, allocations: 3.266 kB / 0.9893 GB, free: 18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004984/0.8282, allocations: 163.9 kB / 0.9895 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.8282, allocations: 4.969 kB / 0.9895 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.8282, allocations: 0 / 0.9895 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.8282, allocations: 2.891 kB / 0.9895 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.8285, allocations: 27.62 kB / 0.9895 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.8285, allocations: 0.9062 kB / 0.9895 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.8286, allocations: 23.69 kB / 0.9896 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.8286, allocations: 4.203 kB / 0.9896 GB, free: 17.96 MB / 0.7325 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.0001066/0.8287, allocations: 120.7 kB / 0.9897 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.8288, allocations: 13.12 kB / 0.9897 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.812e-05/0.8288, allocations: 19.64 kB / 0.9897 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.8288, allocations: 0.9062 kB / 0.9897 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.8288, allocations: 1.812 kB / 0.9897 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.8289, allocations: 0.7031 kB / 0.9897 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008701/0.8297, allocations: 435.7 kB / 0.9901 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.8297, allocations: 0 / 0.9901 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.8299, allocations: 34.98 kB / 0.9902 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.8299, allocations: 3.062 kB / 0.9902 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.8299, allocations: 1.531 kB / 0.9902 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.8299, allocations: 1.938 kB / 0.9902 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8299, allocations: 2.062 kB / 0.9902 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005347/0.8305, allocations: 260 kB / 0.9904 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 2.203e-05/0.8305, allocations: 15.92 kB / 0.9904 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.8305, allocations: 1.828 kB / 0.9904 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.8307, allocations: 23.44 kB / 0.9905 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.8307, allocations: 13.55 kB / 0.9905 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.8307, allocations: 4.891 kB / 0.9905 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.542e-05/0.8308, allocations: 117.7 kB / 0.9906 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/0.8308, allocations: 0 / 0.9906 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002726/0.8311, allocations: 32.19 kB / 0.9906 GB, free: 17.32 MB / 0.7325 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.0009259/0.832, allocations: 0.7986 MB / 0.9914 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004901/0.8325, allocations: 119.3 kB / 0.9915 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8325, allocations: 0 / 0.9915 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.8327, allocations: 68.64 kB / 0.9916 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.8331, allocations: 40.89 kB / 0.9916 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/0.8361, allocations: 1.737 MB / 0.9933 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.8365, allocations: 0.6991 MB / 0.994 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001372/0.8366, allocations: 30.09 kB / 0.994 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.477e-05/0.8367, allocations: 34.73 kB / 0.9941 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of SimCode: time 5.31e-07/0.8367, allocations: 0 / 0.9941 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03137/0.8681, allocations: 3.533 MB / 0.9975 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.86, allocations: 11.03 kB / 0.9975 GB, free: 14.36 MB / 0.7325 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.178367394022644] Failed to read output from testmodel.py, exit status != 0: 11.968685818836093 11.995446665 11.170713109 Calling exit ...