Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 109.1 kB / 16.41 MB, free: 6.512 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.00114/0.00114, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.245/1.245, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002043/0.002043, allocations: 289.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8887/0.8887, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 87.86 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3746, allocations: 86.99 MB / 0.7671 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001977/0.3766, allocations: 1.284 MB / 0.7683 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1378/0.5143, allocations: 147.6 MB / 0.9125 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.516e-05/0.5144, allocations: 0 / 0.9125 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 2.395e-05/0.5145, allocations: 7.922 kB / 0.9125 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 4.13e-05/0.5145, allocations: 11.88 kB / 0.9125 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.5149, allocations: 115.5 kB / 0.9126 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 5.241e-05/0.5149, allocations: 15.88 kB / 0.9126 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.515, allocations: 8 kB / 0.9126 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 2.904e-05/0.515, allocations: 4 kB / 0.9127 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 3.433e-05/0.5151, allocations: 15.91 kB / 0.9127 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 8.917e-06/0.5151, allocations: 0 / 0.9127 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003618/0.5154, allocations: 175.7 kB / 0.9128 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 7.955e-06/0.5155, allocations: 0 / 0.9128 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.5155, allocations: 7.938 kB / 0.9128 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.5157, allocations: 118 kB / 0.913 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5157, allocations: 0 / 0.913 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5157, allocations: 0 / 0.913 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.5157, allocations: 0 / 0.913 GB, free: 13.97 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002944/0.516, allocations: 355.4 kB / 0.9133 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.516, allocations: 8.031 kB / 0.9133 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005146/0.5166, allocations: 40.89 kB / 0.9133 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.5167, allocations: 164.4 kB / 0.9135 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.5167, allocations: 3.938 kB / 0.9135 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.5167, allocations: 8 kB / 0.9135 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.5169, allocations: 41.67 kB / 0.9135 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.5169, allocations: 0 / 0.9135 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.5169, allocations: 0 / 0.9135 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.5169, allocations: 4 kB / 0.9136 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.517, allocations: 27.91 kB / 0.9136 GB, free: 13.24 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003088/0.5173, allocations: 252.8 kB / 0.9138 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 4.185e-05/0.5174, allocations: 26.56 kB / 0.9138 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.92e-05/0.5174, allocations: 8.922 kB / 0.9139 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 5.681e-06/0.5174, allocations: 0 / 0.9139 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.5175, allocations: 34.56 kB / 0.9139 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=2): time 2.124e-06/0.5175, allocations: 0 / 0.9139 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of matching and sorting (n=2): time 0.0001248/0.5176, allocations: 53.48 kB / 0.9139 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.5176, allocations: 51.41 kB / 0.914 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.5178, allocations: 113.8 kB / 0.9141 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.5178, allocations: 25.7 kB / 0.9141 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 4.261e-05/0.5178, allocations: 88.27 kB / 0.9142 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 6.603e-06/0.5178, allocations: 3.906 kB / 0.9142 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.5179, allocations: 17.7 kB / 0.9142 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.862e-05/0.518, allocations: 318.8 kB / 0.9145 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.475e-05/0.5181, allocations: 11.98 kB / 0.9145 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.494e-05/0.5181, allocations: 7.984 kB / 0.9145 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.798e-05/0.5182, allocations: 33.06 kB / 0.9146 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.5182, allocations: 0 / 0.9146 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001869/0.5184, allocations: 57.66 kB / 0.9146 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.5184, allocations: 11.94 kB / 0.9146 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.5184, allocations: 0 / 0.9146 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.368e-06/0.5185, allocations: 0 / 0.9146 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.626e-05/0.5186, allocations: 11.98 kB / 0.9147 GB, free: 12 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.5186, allocations: 0 / 0.9147 GB, free: 12 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.5187, allocations: 11.98 kB / 0.9147 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.5187, allocations: 3.938 kB / 0.9147 GB, free: 11.99 MB / 0.6856 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 (3): * Single equations (assignments): 3 * 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 6.157e-05/0.5188, allocations: 113.8 kB / 0.9148 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.5188, allocations: 3.906 kB / 0.9148 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.558e-05/0.5188, allocations: 7.109 kB / 0.9148 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.5189, allocations: 0 / 0.9148 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5189, allocations: 0 / 0.9148 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.5189, allocations: 85.05 kB / 0.9149 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.5189, allocations: 7.938 kB / 0.9149 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.209e-05/0.519, allocations: 0 / 0.9149 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.519, allocations: 4 kB / 0.9149 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.122e-05/0.5191, allocations: 113 kB / 0.915 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001092/0.5192, allocations: 214.8 kB / 0.9152 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.699e-05/0.5193, allocations: 16 kB / 0.9152 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 8.73e-05/0.5194, allocations: 87.27 kB / 0.9153 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of Backend: time 2.61e-07/0.5194, allocations: 4 kB / 0.9153 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004797/0.5199, allocations: 139 kB / 0.9154 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of SimCode: time 0.0004062/0.5203, allocations: 0.5626 MB / 0.916 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of Templates: time 0.003451/0.5237, allocations: 1.609 MB / 0.9175 GB, free: 8.941 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)