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: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8935/0.8935, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 179.5 kB / 187.3 MB, free: 11.88 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.562/1.562, allocations: 221.3 MB / 441.4 MB, free: 4.59 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.001149/0.001149, allocations: 93.72 kB / 0.5124 GB, free: 24.32 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001929/0.00193, allocations: 271.2 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.295e-05/4.332e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5702/0.5703, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1365/0.7068, allocations: 110.9 MB / 0.8725 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003804/0.7073, allocations: 79.84 kB / 0.8726 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0115/0.7188, allocations: 3.494 MB / 0.876 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.276e-06/0.7189, allocations: 4 kB / 0.876 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.871e-05/0.7189, allocations: 0 / 0.876 GB, free: 10.13 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.0006336/0.7195, allocations: 395.7 kB / 0.8764 GB, free: 9.699 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.313e-05/0.7196, allocations: 8.031 kB / 0.8764 GB, free: 9.691 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002391/0.7199, allocations: 39.75 kB / 0.8764 GB, free: 9.652 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.7201, allocations: 194.8 kB / 0.8766 GB, free: 9.422 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.931e-05/0.7202, allocations: 33.7 kB / 0.8766 GB, free: 9.383 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.7203, allocations: 4 kB / 0.8767 GB, free: 9.379 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.7205, allocations: 86.77 kB / 0.8767 GB, free: 9.289 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.7205, allocations: 0 / 0.8767 GB, free: 9.289 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.7205, allocations: 4 kB / 0.8767 GB, free: 9.285 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.7205, allocations: 0 / 0.8767 GB, free: 9.285 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.7207, allocations: 59.94 kB / 0.8768 GB, free: 9.227 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006501/0.7213, allocations: 388.5 kB / 0.8772 GB, free: 8.797 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004549/0.7218, allocations: 118.6 kB / 0.8773 GB, free: 8.672 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.737e-05/0.7219, allocations: 28.86 kB / 0.8773 GB, free: 8.641 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.7219, allocations: 0 / 0.8773 GB, free: 8.641 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.7219, allocations: 30.62 kB / 0.8773 GB, free: 8.602 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.7219, allocations: 0 / 0.8773 GB, free: 8.602 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7): time 0.0002187/0.7222, allocations: 89.53 kB / 0.8774 GB, free: 8.508 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.7222, allocations: 59.34 kB / 0.8775 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.7223, allocations: 131.6 kB / 0.8776 GB, free: 8.301 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.7224, allocations: 25.7 kB / 0.8776 GB, free: 8.27 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.7224, allocations: 100.3 kB / 0.8777 GB, free: 8.168 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.7225, allocations: 19.72 kB / 0.8777 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/0.7225, allocations: 8 kB / 0.8778 GB, free: 8.141 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.7226, allocations: 318.8 kB / 0.8781 GB, free: 7.82 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.084e-05/0.7227, allocations: 19.98 kB / 0.8781 GB, free: 7.801 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.641e-05/0.7227, allocations: 35.98 kB / 0.8781 GB, free: 7.762 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.715e-05/0.7228, allocations: 23.98 kB / 0.8781 GB, free: 7.738 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7228, allocations: 0 / 0.8781 GB, free: 7.738 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001387/0.7229, allocations: 85.53 kB / 0.8782 GB, free: 7.648 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.723, allocations: 8 kB / 0.8782 GB, free: 7.641 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.723, allocations: 0 / 0.8782 GB, free: 7.641 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.723, allocations: 3.953 kB / 0.8782 GB, free: 7.637 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.7231, allocations: 24.02 kB / 0.8782 GB, free: 7.613 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.7232, allocations: 0 / 0.8782 GB, free: 7.613 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.32e-05/0.7233, allocations: 19.92 kB / 0.8783 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.7233, allocations: 4 kB / 0.8783 GB, free: 7.59 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.479e-05/0.7234, allocations: 108.9 kB / 0.8784 GB, free: 7.477 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.7234, allocations: 7.906 kB / 0.8784 GB, free: 7.469 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.7235, allocations: 16.62 kB / 0.8784 GB, free: 7.457 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.7235, allocations: 0 / 0.8784 GB, free: 7.457 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.7235, allocations: 7.953 kB / 0.8784 GB, free: 7.449 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.7235, allocations: 3.984 kB / 0.8784 GB, free: 7.445 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.7237, allocations: 201.5 kB / 0.8786 GB, free: 7.199 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.7237, allocations: 0 / 0.8786 GB, free: 7.199 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.7239, allocations: 19.98 kB / 0.8786 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.7239, allocations: 0 / 0.8786 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.7239, allocations: 0 / 0.8786 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.7239, allocations: 0 / 0.8786 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.7239, allocations: 0 / 0.8786 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.7241, allocations: 185.5 kB / 0.8788 GB, free: 6.984 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.283e-05/0.7242, allocations: 89 kB / 0.8789 GB, free: 6.879 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.7242, allocations: 4 kB / 0.8789 GB, free: 6.875 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.7243, allocations: 15.98 kB / 0.8789 GB, free: 6.859 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.7244, allocations: 0 / 0.8789 GB, free: 6.859 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.7244, allocations: 7.984 kB / 0.8789 GB, free: 6.852 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.759e-05/0.7245, allocations: 112.7 kB / 0.879 GB, free: 6.742 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7245, allocations: 0 / 0.879 GB, free: 6.742 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002153/0.7247, allocations: 20 kB / 0.879 GB, free: 6.723 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.0001262/0.7249, allocations: 103.2 kB / 0.8791 GB, free: 6.609 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001315/0.725, allocations: 55.88 kB / 0.8792 GB, free: 6.555 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.725, allocations: 0 / 0.8792 GB, free: 6.555 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.45e-05/0.7251, allocations: 24 kB / 0.8792 GB, free: 6.531 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.7253, allocations: 24.05 kB / 0.8792 GB, free: 6.508 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000341/0.7257, allocations: 131.4 kB / 0.8794 GB, free: 6.359 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.726, allocations: 0.7043 MB / 0.88 GB, free: 5.629 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.618e-05/0.7261, allocations: 12.61 kB / 0.8801 GB, free: 5.613 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.7261, allocations: 11.44 kB / 0.8801 GB, free: 5.602 MB / 0.5417 GB Notification: Performance of SimCode: time 3.21e-07/0.7261, allocations: 0 / 0.8801 GB, free: 5.602 MB / 0.5417 GB Notification: Performance of Templates: time 0.00374/0.7299, allocations: 1.276 MB / 0.8813 GB, free: 4.348 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)