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: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005627/0.005627, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001469/0.001469, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003591/0.003591, allocations: 276.7 kB / 290.8 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 1.066/1.066, allocations: 169.2 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002906/0.002906, allocations: 99.84 kB / 0.681 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5784/0.5813, allocations: 86.98 MB / 0.7659 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00241/0.5838, allocations: 1.276 MB / 0.7672 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1794/0.7632, allocations: 147.6 MB / 0.9113 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.842e-05/0.7633, allocations: 0 / 0.9113 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 2.722e-05/0.7634, allocations: 11.92 kB / 0.9114 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 5.009e-05/0.7634, allocations: 7.938 kB / 0.9114 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.7639, allocations: 111.5 kB / 0.9115 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 6.748e-05/0.764, allocations: 19.86 kB / 0.9115 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.7641, allocations: 4 kB / 0.9115 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 3.49e-05/0.7641, allocations: 8 kB / 0.9115 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 4.455e-05/0.7642, allocations: 11.92 kB / 0.9115 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.7642, allocations: 0 / 0.9115 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000444/0.7646, allocations: 179.6 kB / 0.9117 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.7647, allocations: 4 kB / 0.9117 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.7647, allocations: 7.938 kB / 0.9117 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0002578/0.7649, allocations: 112.8 kB / 0.9118 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.765, allocations: 3.938 kB / 0.9118 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.203e-06/0.765, allocations: 0 / 0.9118 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.765, allocations: 4 kB / 0.9118 GB, free: 13.9 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.0003997/0.7654, allocations: 347.2 kB / 0.9121 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.7654, allocations: 12.03 kB / 0.9121 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.924e-05/0.7655, allocations: 38.75 kB / 0.9122 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005548/0.766, allocations: 32.89 kB / 0.9122 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.7662, allocations: 176 kB / 0.9124 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.7662, allocations: 4 kB / 0.9124 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.7662, allocations: 4 kB / 0.9124 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.7664, allocations: 49.61 kB / 0.9124 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.7664, allocations: 3.984 kB / 0.9124 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.7665, allocations: 0 / 0.9124 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.7665, allocations: 0 / 0.9124 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.7666, allocations: 23.97 kB / 0.9125 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.767, allocations: 244.9 kB / 0.9127 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 6.876e-05/0.7671, allocations: 34.56 kB / 0.9127 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.576e-05/0.7671, allocations: 8.922 kB / 0.9127 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 6.993e-06/0.7671, allocations: 3.938 kB / 0.9127 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.7672, allocations: 30.56 kB / 0.9128 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.7672, allocations: 0 / 0.9128 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of matching and sorting (n=2): time 0.0001784/0.7673, allocations: 37.7 kB / 0.9128 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.7674, allocations: 63.52 kB / 0.9129 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.7676, allocations: 109.8 kB / 0.913 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.7676, allocations: 29.7 kB / 0.913 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.7677, allocations: 88.03 kB / 0.9131 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 9.347e-06/0.7677, allocations: 4 kB / 0.9131 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.7677, allocations: 21.66 kB / 0.9131 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.7679, allocations: 322.8 kB / 0.9134 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.533e-05/0.7679, allocations: 11.94 kB / 0.9134 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.574e-05/0.768, allocations: 11.98 kB / 0.9134 GB, free: 12 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.413e-05/0.7681, allocations: 20.84 kB / 0.9135 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7681, allocations: 0 / 0.9135 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001915/0.7683, allocations: 57.67 kB / 0.9135 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.7683, allocations: 4 kB / 0.9135 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.7683, allocations: 4 kB / 0.9135 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.7684, allocations: 4 kB / 0.9135 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.7685, allocations: 7.984 kB / 0.9135 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.7685, allocations: 0 / 0.9135 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.7686, allocations: 15.92 kB / 0.9136 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.7687, allocations: 3.938 kB / 0.9136 GB, free: 11.87 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 8.889e-05/0.7688, allocations: 112.2 kB / 0.9137 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.7688, allocations: 11.98 kB / 0.9137 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.7e-05/0.7688, allocations: 3.125 kB / 0.9137 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.7688, allocations: 0 / 0.9137 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.7688, allocations: 0 / 0.9137 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.7688, allocations: 3.938 kB / 0.9137 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.7691, allocations: 153.7 kB / 0.9138 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7691, allocations: 0 / 0.9138 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.731e-05/0.7691, allocations: 4 kB / 0.9138 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.7691, allocations: 0 / 0.9138 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.7691, allocations: 0 / 0.9138 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.7691, allocations: 8 kB / 0.9138 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.7691, allocations: 0 / 0.9138 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.7693, allocations: 143.4 kB / 0.914 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 6.225e-05/0.7694, allocations: 77.11 kB / 0.914 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.7694, allocations: 3.938 kB / 0.9141 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.7695, allocations: 7.984 kB / 0.9141 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.7695, allocations: 4.266 kB / 0.9141 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-06/0.7695, allocations: 4.031 kB / 0.9141 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000101/0.7696, allocations: 95.25 kB / 0.9142 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7696, allocations: 0 / 0.9142 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003338/0.77, allocations: 15.94 kB / 0.9142 GB, free: 11.15 MB / 0.6856 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.00051/0.7705, allocations: 0.6851 MB / 0.9148 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.000157/0.7707, allocations: 27.91 kB / 0.9149 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7707, allocations: 3.938 kB / 0.9149 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 1.179e-05/0.7707, allocations: 4 kB / 0.9149 GB, free: 10.4 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.7711, allocations: 7.938 kB / 0.9149 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005017/0.7716, allocations: 156.8 kB / 0.915 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.7719, allocations: 0.6729 MB / 0.9157 GB, free: 9.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 5.925e-05/0.772, allocations: 7.984 kB / 0.9157 GB, free: 9.492 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.772, allocations: 15.44 kB / 0.9157 GB, free: 9.477 MB / 0.6856 GB Notification: Performance of SimCode: time 2.1e-07/0.772, allocations: 0 / 0.9157 GB, free: 9.477 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.7958, allocations: 1.607 MB / 0.9173 GB, free: 8.023 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.736/8.532, allocations: 12.55 kB / 0.9173 GB, free: 8.012 MB / 0.6856 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)