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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8711/0.8711, allocations: 141.8 MB / 149.3 MB, free: 9.227 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 184.8 kB / 182.2 MB, free: 9.453 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 88.11 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001965/0.001965, allocations: 276.7 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 3.271e-05/3.285e-05, allocations: 4 kB / 0.6766 GB, free: 12.77 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5895/0.5896, allocations: 82.78 MB / 0.7575 GB, free: 31.94 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1591/0.7487, allocations: 110.2 MB / 0.8651 GB, free: 1.613 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00034/0.7491, allocations: 80.98 kB / 0.8651 GB, free: 1.535 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01126/0.7604, allocations: 3.487 MB / 0.8685 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7605, allocations: 0 / 0.8685 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.7605, allocations: 0 / 0.8685 GB, free: 14.04 MB / 0.5417 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.0005692/0.7611, allocations: 398.3 kB / 0.8689 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.336e-05/0.7611, allocations: 8.031 kB / 0.8689 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002302/0.7614, allocations: 31.88 kB / 0.869 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.7616, allocations: 212 kB / 0.8692 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.58e-05/0.7617, allocations: 29.7 kB / 0.8692 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.7617, allocations: 4 kB / 0.8692 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001513/0.7619, allocations: 47.98 kB / 0.8692 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.7621, allocations: 78.77 kB / 0.8693 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.7621, allocations: 0 / 0.8693 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.7621, allocations: 4 kB / 0.8693 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.7621, allocations: 0 / 0.8693 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006228/0.7627, allocations: 341 kB / 0.8696 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000463/0.7632, allocations: 118.7 kB / 0.8698 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.245e-05/0.7633, allocations: 28.8 kB / 0.8698 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.7633, allocations: 0 / 0.8698 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.7633, allocations: 34.56 kB / 0.8698 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.7633, allocations: 0 / 0.8698 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7): time 0.0002012/0.7635, allocations: 77.7 kB / 0.8699 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.7636, allocations: 51.41 kB / 0.8699 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.256e-05/0.7637, allocations: 115.7 kB / 0.8701 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.7637, allocations: 25.7 kB / 0.8701 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.946e-05/0.7638, allocations: 99.98 kB / 0.8702 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.7638, allocations: 23.64 kB / 0.8702 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.7638, allocations: 4 kB / 0.8702 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.764, allocations: 310.8 kB / 0.8705 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.401e-05/0.764, allocations: 20 kB / 0.8705 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.18e-05/0.7641, allocations: 33.7 kB / 0.8705 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.401e-05/0.7641, allocations: 23.94 kB / 0.8706 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7641, allocations: 0 / 0.8706 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001329/0.7643, allocations: 77.73 kB / 0.8706 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.7643, allocations: 8 kB / 0.8706 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.7643, allocations: 0 / 0.8706 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.7643, allocations: 0 / 0.8706 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.7645, allocations: 24.02 kB / 0.8707 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.7645, allocations: 7.219 kB / 0.8707 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.782e-05/0.7646, allocations: 19.84 kB / 0.8707 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.7646, allocations: 7.938 kB / 0.8707 GB, free: 11.62 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.116e-05/0.7647, allocations: 101 kB / 0.8708 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001322/0.7648, allocations: 73.62 kB / 0.8709 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.7649, allocations: 7.906 kB / 0.8709 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.948e-05/0.7649, allocations: 16.62 kB / 0.8709 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.7649, allocations: 3.953 kB / 0.8709 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.7649, allocations: 0 / 0.8709 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.765, allocations: 3.984 kB / 0.8709 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.7652, allocations: 170.1 kB / 0.8711 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.7652, allocations: 8 kB / 0.8711 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.7653, allocations: 19.92 kB / 0.8711 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.7653, allocations: 0 / 0.8711 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.7653, allocations: 0 / 0.8711 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.7653, allocations: 8 kB / 0.8711 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.7653, allocations: 0 / 0.8711 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.7655, allocations: 175.4 kB / 0.8713 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.7656, allocations: 85.02 kB / 0.8713 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.7656, allocations: 0 / 0.8713 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.7657, allocations: 11.98 kB / 0.8714 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.7658, allocations: 11.98 kB / 0.8714 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.7658, allocations: 8 kB / 0.8714 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.934e-05/0.7659, allocations: 87.28 kB / 0.8715 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7659, allocations: 0 / 0.8715 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002307/0.7661, allocations: 23.94 kB / 0.8715 GB, free: 10.73 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 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.7667, allocations: 0.7046 MB / 0.8722 GB, free: 10 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001251/0.7668, allocations: 40 kB / 0.8722 GB, free: 9.961 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7668, allocations: 0 / 0.8722 GB, free: 9.961 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.932e-05/0.7669, allocations: 31.92 kB / 0.8722 GB, free: 9.93 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.7671, allocations: 19.97 kB / 0.8723 GB, free: 9.91 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005083/0.7677, allocations: 166.4 kB / 0.8724 GB, free: 9.715 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.768, allocations: 0.7008 MB / 0.8731 GB, free: 8.988 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.535e-05/0.7681, allocations: 8.188 kB / 0.8731 GB, free: 8.977 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.283e-05/0.7682, allocations: 23.44 kB / 0.8731 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.7682, allocations: 0 / 0.8731 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02406/0.7922, allocations: 1.819 MB / 0.8749 GB, free: 7.16 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002638/0.7926, allocations: 172.9 kB / 0.8751 GB, free: 6.961 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/2.59, allocations: 1 kB / 0.8751 GB, free: 6.961 MB / 0.5417 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/linux/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)