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.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: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 109.3 kB / 15.7 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 197.7 kB / 16.63 MB, free: 6.609 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.363/1.363, allocations: 222.9 MB / 240.3 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002035/0.002035, allocations: 281.3 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.948/0.948, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002693/0.002693, allocations: 95.84 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1942, allocations: 86.97 MB / 0.7663 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002683/0.197, allocations: 1.637 MB / 0.7679 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5214/0.7184, allocations: 151.6 MB / 0.9159 GB, free: 9.668 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.7186, allocations: 0 / 0.9159 GB, free: 9.668 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.7188, allocations: 15.81 kB / 0.9159 GB, free: 9.652 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.7191, allocations: 51.64 kB / 0.916 GB, free: 9.602 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.7194, allocations: 145.5 kB / 0.9161 GB, free: 9.461 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.7196, allocations: 115.6 kB / 0.9162 GB, free: 9.348 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.7198, allocations: 33.38 kB / 0.9163 GB, free: 9.316 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.7208, allocations: 173 kB / 0.9164 GB, free: 9.184 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 7.087e-05/0.7209, allocations: 44.98 kB / 0.9165 GB, free: 9.141 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.7209, allocations: 8 kB / 0.9165 GB, free: 9.133 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003544/0.7213, allocations: 183.7 kB / 0.9166 GB, free: 8.953 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 4.011e-05/0.7213, allocations: 19.92 kB / 0.9167 GB, free: 8.934 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 5.475e-05/0.7214, allocations: 43.75 kB / 0.9167 GB, free: 8.891 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0003114/0.7217, allocations: 194.3 kB / 0.9169 GB, free: 8.703 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.7217, allocations: 4 kB / 0.9169 GB, free: 8.699 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7217, allocations: 4 kB / 0.9169 GB, free: 8.695 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.7217, allocations: 0 / 0.9169 GB, free: 8.695 MB / 0.67 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.0006187/0.7224, allocations: 443.5 kB / 0.9173 GB, free: 8.215 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.7224, allocations: 8.031 kB / 0.9173 GB, free: 8.207 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009185/0.7233, allocations: 84.12 kB / 0.9174 GB, free: 8.125 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.7235, allocations: 210.7 kB / 0.9176 GB, free: 7.879 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.7236, allocations: 4 kB / 0.9176 GB, free: 7.875 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.7236, allocations: 8 kB / 0.9176 GB, free: 7.867 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004139/0.724, allocations: 141.5 kB / 0.9178 GB, free: 7.723 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.724, allocations: 3.625 kB / 0.9178 GB, free: 7.723 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.7241, allocations: 4 kB / 0.9178 GB, free: 7.719 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.7241, allocations: 3.938 kB / 0.9178 GB, free: 7.715 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005431/0.7246, allocations: 135.9 kB / 0.9179 GB, free: 7.582 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007342/0.7254, allocations: 416.3 kB / 0.9183 GB, free: 7.125 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007137/0.7261, allocations: 251.7 kB / 0.9185 GB, free: 6.852 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/0.7263, allocations: 76.8 kB / 0.9186 GB, free: 6.773 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.7264, allocations: 0 / 0.9186 GB, free: 6.773 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.7264, allocations: 30.56 kB / 0.9186 GB, free: 6.734 MB / 0.67 GB Notification: Performance of pre-optimization done (n=8): time 2.575e-06/0.7264, allocations: 4 kB / 0.9186 GB, free: 6.73 MB / 0.67 GB Notification: Performance of matching and sorting (n=8): time 0.0008841/0.7273, allocations: 214.9 kB / 0.9188 GB, free: 6.516 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.7274, allocations: 55.41 kB / 0.9189 GB, free: 6.449 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.7275, allocations: 148.5 kB / 0.919 GB, free: 6.297 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.7275, allocations: 25.7 kB / 0.9191 GB, free: 6.266 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.7276, allocations: 100.1 kB / 0.9192 GB, free: 6.164 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.7276, allocations: 31.67 kB / 0.9192 GB, free: 6.133 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.318e-05/0.7277, allocations: 25.7 kB / 0.9192 GB, free: 6.102 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.7278, allocations: 330.8 kB / 0.9195 GB, free: 5.77 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.728, allocations: 51.95 kB / 0.9196 GB, free: 5.719 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.7282, allocations: 74.52 kB / 0.9196 GB, free: 5.637 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004395/0.7287, allocations: 125.2 kB / 0.9198 GB, free: 5.512 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.7287, allocations: 0 / 0.9198 GB, free: 5.512 MB / 0.67 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000497/0.7292, allocations: 157.5 kB / 0.9199 GB, free: 5.352 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.7292, allocations: 8 kB / 0.9199 GB, free: 5.344 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.7292, allocations: 0 / 0.9199 GB, free: 5.344 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.7292, allocations: 4 kB / 0.9199 GB, free: 5.34 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.7295, allocations: 27.95 kB / 0.92 GB, free: 5.312 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.7295, allocations: 0 / 0.92 GB, free: 5.312 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.7296, allocations: 23.83 kB / 0.92 GB, free: 5.289 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.7296, allocations: 0 / 0.92 GB, free: 5.289 MB / 0.67 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.0001036/0.7298, allocations: 138.4 kB / 0.9201 GB, free: 5.145 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.7298, allocations: 7.906 kB / 0.9201 GB, free: 5.137 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.473e-05/0.7299, allocations: 16.72 kB / 0.9201 GB, free: 5.121 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/0.7299, allocations: 0 / 0.9201 GB, free: 5.121 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.7299, allocations: 0 / 0.9201 GB, free: 5.121 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.7299, allocations: 3.938 kB / 0.9201 GB, free: 5.117 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007989/0.7307, allocations: 458.4 kB / 0.9206 GB, free: 4.613 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7307, allocations: 0 / 0.9206 GB, free: 4.613 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.7309, allocations: 31.91 kB / 0.9206 GB, free: 4.582 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.7309, allocations: 3.938 kB / 0.9206 GB, free: 4.578 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.7309, allocations: 3.984 kB / 0.9206 GB, free: 4.574 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.7309, allocations: 4.875 kB / 0.9206 GB, free: 4.57 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.7309, allocations: 3.938 kB / 0.9206 GB, free: 4.566 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005187/0.7315, allocations: 267.2 kB / 0.9209 GB, free: 4.289 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.7315, allocations: 85 kB / 0.921 GB, free: 4.188 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.7315, allocations: 4 kB / 0.921 GB, free: 4.184 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.7317, allocations: 15.98 kB / 0.921 GB, free: 4.168 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.7318, allocations: 7.922 kB / 0.921 GB, free: 4.16 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.7318, allocations: 6.312 kB / 0.921 GB, free: 4.156 MB / 0.67 GB Notification: Performance of sorting global known variables: time 6.883e-05/0.7319, allocations: 120.9 kB / 0.9211 GB, free: 4.039 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7319, allocations: 0 / 0.9211 GB, free: 4.039 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002632/0.7321, allocations: 31.94 kB / 0.9211 GB, free: 4.008 MB / 0.67 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.0001552/0.7323, allocations: 119.2 kB / 0.9212 GB, free: 3.883 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0006619/0.733, allocations: 119.9 kB / 0.9214 GB, free: 3.766 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.733, allocations: 4 kB / 0.9214 GB, free: 3.762 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003309/0.7333, allocations: 67.88 kB / 0.9214 GB, free: 3.695 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004969/0.7338, allocations: 27.98 kB / 0.9215 GB, free: 3.668 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007202/0.7346, allocations: 232.9 kB / 0.9217 GB, free: 3.414 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.7349, allocations: 0.7002 MB / 0.9224 GB, free: 2.688 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000174/0.7351, allocations: 32.34 kB / 0.9224 GB, free: 2.656 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.876e-05/0.7352, allocations: 15.44 kB / 0.9224 GB, free: 2.641 MB / 0.67 GB Notification: Performance of SimCode: time 4.51e-07/0.7352, allocations: 0 / 0.9224 GB, free: 2.641 MB / 0.67 GB Notification: Performance of Templates: time 0.006152/0.7413, allocations: 1.945 MB / 0.9243 GB, free: 0.7266 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)