Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004796/0.004797, allocations: 99.27 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 193.5 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002602/0.002602, allocations: 270.6 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.076/1.076, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00275/0.00275, allocations: 96.39 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2091, allocations: 86.98 MB / 0.7659 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002983/0.2121, allocations: 1.662 MB / 0.7675 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007812/0.2129, allocations: 395.3 kB / 0.7679 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.888e-05/0.213, allocations: 0 / 0.7679 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.959e-05/0.2131, allocations: 15.86 kB / 0.7679 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.749e-05/0.2132, allocations: 23.78 kB / 0.7679 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.2136, allocations: 118.8 kB / 0.7681 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.2138, allocations: 111.6 kB / 0.7682 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.2139, allocations: 44.19 kB / 0.7682 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.907e-05/0.214, allocations: 39.86 kB / 0.7682 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.128e-05/0.2141, allocations: 47.7 kB / 0.7683 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.2141, allocations: 8 kB / 0.7683 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.2143, allocations: 63.94 kB / 0.7684 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.065e-05/0.2143, allocations: 19.92 kB / 0.7684 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.631e-05/0.2144, allocations: 47.8 kB / 0.7684 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.2146, allocations: 127.5 kB / 0.7685 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2146, allocations: 0 / 0.7685 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.917e-06/0.2146, allocations: 4 kB / 0.7685 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.2146, allocations: 0 / 0.7685 GB, free: 6.211 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006478/0.2153, allocations: 418.9 kB / 0.7689 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.2153, allocations: 12.03 kB / 0.769 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.562e-05/0.2154, allocations: 38.73 kB / 0.769 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002313/0.2156, allocations: 40.77 kB / 0.769 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.2159, allocations: 196.2 kB / 0.7692 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-05/0.216, allocations: 34.27 kB / 0.7693 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.216, allocations: 8.375 kB / 0.7693 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.2163, allocations: 109.9 kB / 0.7694 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.2163, allocations: 0 / 0.7694 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.2163, allocations: 0 / 0.7694 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.2163, allocations: 11.94 kB / 0.7694 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002494/0.2166, allocations: 82.28 kB / 0.7695 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007335/0.2173, allocations: 388.5 kB / 0.7698 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005536/0.2179, allocations: 134.6 kB / 0.77 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.218, allocations: 40.84 kB / 0.77 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.2181, allocations: 0 / 0.77 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.2181, allocations: 30.56 kB / 0.77 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 3.396e-06/0.2181, allocations: 4 kB / 0.77 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004307/0.2185, allocations: 141.7 kB / 0.7702 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.2186, allocations: 55.34 kB / 0.7702 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.2187, allocations: 137.6 kB / 0.7703 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.2188, allocations: 25.7 kB / 0.7704 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.792e-05/0.2188, allocations: 108 kB / 0.7705 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.2189, allocations: 23.8 kB / 0.7705 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.2189, allocations: 29.7 kB / 0.7705 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.2191, allocations: 318.8 kB / 0.7708 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.2192, allocations: 27.97 kB / 0.7709 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.2193, allocations: 45.69 kB / 0.7709 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.2195, allocations: 73.69 kB / 0.771 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.2195, allocations: 0 / 0.771 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002906/0.2198, allocations: 121.5 kB / 0.7711 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.2198, allocations: 4 kB / 0.7711 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2199, allocations: 0 / 0.7711 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.2199, allocations: 7.938 kB / 0.7711 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.22, allocations: 19.92 kB / 0.7711 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.22, allocations: 4.031 kB / 0.7711 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.639e-05/0.2201, allocations: 11.95 kB / 0.7711 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.2201, allocations: 4 kB / 0.7711 GB, free: 3.309 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.0001083/0.2202, allocations: 118.5 kB / 0.7712 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-05/0.2203, allocations: 7.953 kB / 0.7713 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.759e-05/0.2203, allocations: 12.72 kB / 0.7713 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.2203, allocations: 3.938 kB / 0.7713 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2203, allocations: 0 / 0.7713 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2204, allocations: 3.938 kB / 0.7713 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.2206, allocations: 205.6 kB / 0.7715 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2206, allocations: 3.938 kB / 0.7715 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.2207, allocations: 15.98 kB / 0.7715 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.2208, allocations: 0 / 0.7715 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.2208, allocations: 0 / 0.7715 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.2208, allocations: 3.938 kB / 0.7715 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2208, allocations: 0 / 0.7715 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.2211, allocations: 204 kB / 0.7717 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/0.2212, allocations: 92.98 kB / 0.7718 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.2212, allocations: 0 / 0.7718 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.2214, allocations: 23.92 kB / 0.7718 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.2214, allocations: 4 kB / 0.7718 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.2214, allocations: 3.984 kB / 0.7718 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.676e-05/0.2215, allocations: 106.1 kB / 0.7719 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2215, allocations: 0 / 0.7719 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003359/0.2219, allocations: 27.95 kB / 0.7719 GB, free: 2.398 MB / 0.5606 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 (7): * Single equations (assignments): 7 * 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.0006777/0.2226, allocations: 0.7398 MB / 0.7727 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000293/0.2229, allocations: 75.95 kB / 0.7727 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2229, allocations: 0 / 0.7727 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.223, allocations: 39.91 kB / 0.7728 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.2235, allocations: 23.92 kB / 0.7728 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3393/0.5628, allocations: 1.549 MB / 0.7743 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.563, allocations: 0.6942 MB / 0.775 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000101/0.5631, allocations: 11.34 kB / 0.775 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.158e-05/0.5632, allocations: 30.52 kB / 0.775 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of SimCode: time 9.22e-07/0.5632, allocations: 0 / 0.775 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0256/0.5888, allocations: 2.741 MB / 0.7777 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.169/8.758, allocations: 16.52 kB / 0.7777 GB, free: 13.02 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)