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.001728/0.001727, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001934/0.001935, allocations: 195.5 kB / 16.14 MB, free: 6.641 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.44/1.44, allocations: 222.9 MB / 239.8 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002522/0.002522, allocations: 294.7 kB / 290.2 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.114/1.114, allocations: 178.6 MB / 0.5068 GB, free: 4.781 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00269/0.00269, allocations: 95.5 kB / 0.6057 GB, free: 25.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1888, allocations: 89.15 MB / 0.6928 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002702/0.1916, allocations: 1.346 MB / 0.6941 GB, free: 3.508 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4563/0.648, allocations: 145.3 MB / 0.836 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.599e-05/0.648, allocations: 0 / 0.836 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.081e-05/0.6481, allocations: 0 / 0.836 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.623e-05/0.6482, allocations: 9.516 kB / 0.836 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.6486, allocations: 97.27 kB / 0.8361 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.095e-05/0.6486, allocations: 25.41 kB / 0.8362 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.6487, allocations: 9.266 kB / 0.8362 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.164e-05/0.6487, allocations: 3.906 kB / 0.8362 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.468e-05/0.6488, allocations: 3.75 kB / 0.8362 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.6488, allocations: 1.188 kB / 0.8362 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004374/0.6492, allocations: 183.7 kB / 0.8364 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.6492, allocations: 4.984 kB / 0.8364 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.612e-05/0.6493, allocations: 4.375 kB / 0.8364 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.6495, allocations: 109 kB / 0.8365 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6496, allocations: 0 / 0.8365 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.81e-07/0.6496, allocations: 4 kB / 0.8365 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.6496, allocations: 0 / 0.8365 GB, free: 14.62 MB / 0.5762 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.0004336/0.65, allocations: 354.8 kB / 0.8368 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.6501, allocations: 17.22 kB / 0.8368 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005714/0.6506, allocations: 38.86 kB / 0.8369 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.6508, allocations: 161.7 kB / 0.837 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.6508, allocations: 8.5 kB / 0.837 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.6508, allocations: 5.125 kB / 0.837 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.651, allocations: 45.47 kB / 0.8371 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.651, allocations: 1.188 kB / 0.8371 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.6511, allocations: 0 / 0.8371 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.6511, allocations: 2.844 kB / 0.8371 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.6512, allocations: 20.08 kB / 0.8371 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/0.6516, allocations: 258.5 kB / 0.8373 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.839e-05/0.6517, allocations: 24.27 kB / 0.8374 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.6517, allocations: 8.484 kB / 0.8374 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.6518, allocations: 0 / 0.8374 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.6518, allocations: 35.66 kB / 0.8374 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.6518, allocations: 0 / 0.8374 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.000161/0.652, allocations: 48.28 kB / 0.8375 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.017e-05/0.652, allocations: 51.41 kB / 0.8375 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.6522, allocations: 108.2 kB / 0.8376 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.6522, allocations: 25.7 kB / 0.8376 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.6523, allocations: 89.14 kB / 0.8377 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.6523, allocations: 13.05 kB / 0.8377 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.6523, allocations: 22.36 kB / 0.8378 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.6525, allocations: 319.9 kB / 0.8381 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.648e-05/0.6526, allocations: 9.609 kB / 0.8381 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.883e-05/0.6526, allocations: 9.703 kB / 0.8381 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.692e-05/0.6527, allocations: 19.77 kB / 0.8381 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.6527, allocations: 0 / 0.8381 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001932/0.6529, allocations: 75.27 kB / 0.8382 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.653, allocations: 5.219 kB / 0.8382 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.653, allocations: 0 / 0.8382 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.653, allocations: 0.9375 kB / 0.8382 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.6531, allocations: 11.77 kB / 0.8382 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.6531, allocations: 0 / 0.8382 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.6533, allocations: 9.938 kB / 0.8382 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.6533, allocations: 9.203 kB / 0.8382 GB, free: 12.8 MB / 0.5762 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 8.18e-05/0.6534, allocations: 115 kB / 0.8383 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.6534, allocations: 1.125 kB / 0.8383 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.852e-05/0.6534, allocations: 4.281 kB / 0.8383 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.6534, allocations: 0 / 0.8383 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.6535, allocations: 1.25 kB / 0.8383 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.6535, allocations: 0 / 0.8383 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.6536, allocations: 165 kB / 0.8385 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6536, allocations: 4 kB / 0.8385 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.752e-05/0.6537, allocations: 8.078 kB / 0.8385 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.6537, allocations: 0 / 0.8385 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.6537, allocations: 0 / 0.8385 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.6537, allocations: 2.812 kB / 0.8385 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.6537, allocations: 0 / 0.8385 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.6538, allocations: 136.6 kB / 0.8386 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-05/0.6539, allocations: 82.31 kB / 0.8387 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.6539, allocations: 5.188 kB / 0.8387 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.901e-05/0.654, allocations: 1.156 kB / 0.8387 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.654, allocations: 1.031 kB / 0.8387 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.654, allocations: 1.125 kB / 0.8387 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001135/0.6542, allocations: 95.45 kB / 0.8388 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6542, allocations: 0 / 0.8388 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002433/0.6544, allocations: 15.59 kB / 0.8388 GB, free: 12.14 MB / 0.5762 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 (2): * Single equations (assignments): 2 * 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.0001835/0.6546, allocations: 111.7 kB / 0.8389 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001397/0.6548, allocations: 24.3 kB / 0.8389 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.6548, allocations: 0 / 0.8389 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.567e-05/0.6548, allocations: 8.422 kB / 0.8389 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.6551, allocations: 9.281 kB / 0.839 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003165/0.6555, allocations: 121.9 kB / 0.8391 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.6558, allocations: 0.6767 MB / 0.8397 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.878e-05/0.6559, allocations: 10.31 kB / 0.8397 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.6559, allocations: 9.906 kB / 0.8398 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.6559, allocations: 0 / 0.8398 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of Templates: time 0.003429/0.6594, allocations: 0.73 MB / 0.8405 GB, free: 10.81 MB / 0.5762 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)