Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.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.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX",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.005014/0.005014, allocations: 102.3 kB / 15.73 MB, free: 6.035 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.001173/0.001173, allocations: 199.7 kB / 16.68 MB, free: 5.957 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002046/0.002047, allocations: 297.7 kB / 290.8 MB, free: 1.738 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9135/0.9135, allocations: 169.3 MB / 0.4983 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 93.17 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.167, allocations: 86.98 MB / 0.7659 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002713/0.1698, allocations: 1.493 MB / 0.7674 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4688/0.6386, allocations: 132.1 MB / 0.8963 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.119e-05/0.6387, allocations: 4 kB / 0.8963 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.721e-05/0.6388, allocations: 7.922 kB / 0.8963 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.241e-05/0.6389, allocations: 11.86 kB / 0.8964 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.6392, allocations: 59.72 kB / 0.8964 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.6393, allocations: 59.78 kB / 0.8965 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.973e-05/0.6394, allocations: 12 kB / 0.8965 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.144e-05/0.6395, allocations: 19.92 kB / 0.8965 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.41e-05/0.6395, allocations: 35.83 kB / 0.8965 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.6396, allocations: 4 kB / 0.8965 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-05/0.6396, allocations: 16 kB / 0.8966 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.779e-05/0.6397, allocations: 7.984 kB / 0.8966 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.763e-05/0.6397, allocations: 23.88 kB / 0.8966 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.6399, allocations: 57.06 kB / 0.8966 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.6399, allocations: 0 / 0.8966 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6399, allocations: 0 / 0.8966 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.6399, allocations: 4 kB / 0.8966 GB, free: 13.27 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005287/0.6404, allocations: 380 kB / 0.897 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.6405, allocations: 12.03 kB / 0.897 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.59e-05/0.6405, allocations: 34.75 kB / 0.897 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.6406, allocations: 4.938 kB / 0.8971 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.6407, allocations: 177.2 kB / 0.8972 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.6407, allocations: 4.375 kB / 0.8972 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.6407, allocations: 384 / 0.8972 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.641, allocations: 74.22 kB / 0.8973 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.641, allocations: 3.938 kB / 0.8973 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.641, allocations: 8 kB / 0.8973 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.641, allocations: 0 / 0.8973 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002791/0.6413, allocations: 65.14 kB / 0.8974 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003261/0.6417, allocations: 288.7 kB / 0.8976 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.6419, allocations: 54.53 kB / 0.8977 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.642, allocations: 40.92 kB / 0.8977 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001516/0.6422, allocations: 93.09 kB / 0.8978 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.6422, allocations: 34.56 kB / 0.8979 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.6422, allocations: 4 kB / 0.8979 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005626/0.6428, allocations: 141.4 kB / 0.898 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.6428, allocations: 51.41 kB / 0.898 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.705e-05/0.6429, allocations: 117.8 kB / 0.8982 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.6429, allocations: 25.7 kB / 0.8982 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.182e-05/0.643, allocations: 88.12 kB / 0.8983 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.643, allocations: 7.906 kB / 0.8983 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.643, allocations: 21.59 kB / 0.8983 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.288e-05/0.6431, allocations: 318.8 kB / 0.8986 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.6433, allocations: 35.95 kB / 0.8986 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.6434, allocations: 31.97 kB / 0.8987 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.6437, allocations: 68.72 kB / 0.8987 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6437, allocations: 4 kB / 0.8987 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003062/0.644, allocations: 101.5 kB / 0.8988 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.644, allocations: 4 kB / 0.8988 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.644, allocations: 0 / 0.8988 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.644, allocations: 3.984 kB / 0.8988 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.6442, allocations: 15.98 kB / 0.8989 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.6442, allocations: 0 / 0.8989 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.893e-05/0.6443, allocations: 23.92 kB / 0.8989 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.6443, allocations: 0 / 0.8989 GB, free: 10.73 MB / 0.6544 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.996e-05/0.6444, allocations: 110.4 kB / 0.899 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.6444, allocations: 4 kB / 0.899 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003457/0.6447, allocations: 117.4 kB / 0.8991 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.6447, allocations: 0 / 0.8991 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.6448, allocations: 0 / 0.8991 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.6448, allocations: 0 / 0.8991 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.6449, allocations: 181.6 kB / 0.8993 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.6449, allocations: 0 / 0.8993 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.246e-05/0.645, allocations: 16.72 kB / 0.8993 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.645, allocations: 0 / 0.8993 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.645, allocations: 4 kB / 0.8993 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.6451, allocations: 0 / 0.8993 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.6451, allocations: 0 / 0.8993 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.6454, allocations: 199.4 kB / 0.8995 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/0.6454, allocations: 89 kB / 0.8996 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.6455, allocations: 2.5 kB / 0.8996 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.6456, allocations: 15.98 kB / 0.8996 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.6456, allocations: 4 kB / 0.8996 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.6456, allocations: 0 / 0.8996 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.325e-05/0.6457, allocations: 99.2 kB / 0.8997 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6457, allocations: 0 / 0.8997 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002245/0.6459, allocations: 12 kB / 0.8997 GB, free: 9.793 MB / 0.6544 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 (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 Backend phase and start with SimCode phase: time 0.0006469/0.6466, allocations: 0.7362 MB / 0.9004 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003396/0.6469, allocations: 75.89 kB / 0.9005 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.647, allocations: 0 / 0.9005 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.6471, allocations: 39.95 kB / 0.9005 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.6474, allocations: 11.94 kB / 0.9005 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.6492, allocations: 1.423 MB / 0.9019 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.6494, allocations: 0.6846 MB / 0.9026 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.906e-05/0.6495, allocations: 4 kB / 0.9026 GB, free: 6.691 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.6495, allocations: 19.44 kB / 0.9026 GB, free: 6.672 MB / 0.6544 GB Notification: Performance of SimCode: time 3.2e-07/0.6495, allocations: 0 / 0.9026 GB, free: 6.672 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02096/0.6705, allocations: 2.073 MB / 0.9046 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.991/7.661, allocations: 14.56 kB / 0.9047 GB, free: 4.73 MB / 0.6544 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)