Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi",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.001407/0.001407, allocations: 93.27 kB / 16.02 MB, free: 84 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.00155/0.00155, allocations: 179.4 kB / 16.92 MB, free: 6.68 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.434/1.434, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7076/0.7076, allocations: 115.5 MB / 407.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003126/0.0003124, allocations: 8 kB / 496 MB, free: 6.258 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1599, allocations: 77.53 MB / 0.56 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001779/0.1617, allocations: 1.341 MB / 0.5614 GB, free: 7.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4873/0.6491, allocations: 147.7 MB / 0.7055 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.6493, allocations: 3.938 kB / 0.7056 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.6495, allocations: 11.86 kB / 0.7056 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002743/0.6497, allocations: 43.78 kB / 0.7056 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005433/0.6503, allocations: 127.5 kB / 0.7057 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.6506, allocations: 115.6 kB / 0.7058 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.6507, allocations: 27.78 kB / 0.7059 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001977/0.6527, allocations: 144.1 kB / 0.706 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.6528, allocations: 39.72 kB / 0.706 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.6529, allocations: 4 kB / 0.706 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004311/0.6533, allocations: 175.7 kB / 0.7062 GB, free: 1 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.291e-05/0.6534, allocations: 19.92 kB / 0.7062 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.6535, allocations: 69.44 kB / 0.7063 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.6539, allocations: 179.5 kB / 0.7065 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.6539, allocations: 3.938 kB / 0.7065 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6539, allocations: 0 / 0.7065 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.6539, allocations: 0 / 0.7065 GB, free: 0.7266 MB / 0.5137 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.0007046/0.6546, allocations: 439.9 kB / 0.7069 GB, free: 256 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.6547, allocations: 8.031 kB / 0.7069 GB, free: 248 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.862e-05/0.6547, allocations: 42.92 kB / 0.7069 GB, free: 196 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009585/0.6557, allocations: 83.75 kB / 0.707 GB, free: 112 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.656, allocations: 202.7 kB / 0.7072 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.656, allocations: 8 kB / 0.7072 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.656, allocations: 12 kB / 0.7072 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004893/0.6565, allocations: 147.9 kB / 0.7074 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.6566, allocations: 0 / 0.7074 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.6566, allocations: 7.938 kB / 0.7074 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.6566, allocations: 7.875 kB / 0.7074 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005844/0.6572, allocations: 155.9 kB / 0.7075 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008337/0.658, allocations: 416.3 kB / 0.7079 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007434/0.6588, allocations: 259.7 kB / 0.7082 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/0.6591, allocations: 88.73 kB / 0.7083 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.6591, allocations: 0 / 0.7083 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.6591, allocations: 38.56 kB / 0.7083 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 2.485e-06/0.6592, allocations: 0 / 0.7083 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0008808/0.66, allocations: 249.4 kB / 0.7085 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.6601, allocations: 59.39 kB / 0.7086 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.6603, allocations: 146 kB / 0.7087 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.6603, allocations: 29.7 kB / 0.7088 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.334e-05/0.6604, allocations: 100.1 kB / 0.7089 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.758e-05/0.6604, allocations: 31.69 kB / 0.7089 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.6605, allocations: 13.72 kB / 0.7089 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.6606, allocations: 326.8 kB / 0.7092 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.6609, allocations: 59.95 kB / 0.7093 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/0.6611, allocations: 94.5 kB / 0.7094 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004603/0.6616, allocations: 144.7 kB / 0.7095 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.6616, allocations: 0 / 0.7095 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005314/0.6622, allocations: 182.3 kB / 0.7097 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.6622, allocations: 4 kB / 0.7097 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.6622, allocations: 4 kB / 0.7097 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.6622, allocations: 0 / 0.7097 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.6625, allocations: 35.95 kB / 0.7097 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.6625, allocations: 0 / 0.7097 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.6627, allocations: 27.89 kB / 0.7097 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.6627, allocations: 4.547 kB / 0.7097 GB, free: 13.12 MB / 0.5294 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.0001288/0.6628, allocations: 129.7 kB / 0.7099 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.344e-05/0.6629, allocations: 11.84 kB / 0.7099 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.169e-05/0.6629, allocations: 16.72 kB / 0.7099 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.6629, allocations: 0 / 0.7099 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.663, allocations: 0 / 0.7099 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.663, allocations: 4 kB / 0.7099 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008815/0.6639, allocations: 486.3 kB / 0.7104 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.6639, allocations: 0 / 0.7104 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.6641, allocations: 35.91 kB / 0.7104 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.6641, allocations: 0 / 0.7104 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.6641, allocations: 11.98 kB / 0.7104 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.6641, allocations: 7.938 kB / 0.7104 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6641, allocations: 0 / 0.7104 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005596/0.6647, allocations: 275.2 kB / 0.7107 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.566e-05/0.6647, allocations: 84.95 kB / 0.7108 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.6648, allocations: 8 kB / 0.7108 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.665, allocations: 23.92 kB / 0.7108 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.665, allocations: 7.984 kB / 0.7108 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.665, allocations: 3.984 kB / 0.7108 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001049/0.6651, allocations: 111.3 kB / 0.7109 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6652, allocations: 0 / 0.7109 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003406/0.6655, allocations: 31.94 kB / 0.7109 GB, free: 11.79 MB / 0.5294 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.0009134/0.6664, allocations: 0.8216 MB / 0.7117 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005354/0.667, allocations: 151.8 kB / 0.7119 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.667, allocations: 0 / 0.7119 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000247/0.6672, allocations: 79.94 kB / 0.712 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.6677, allocations: 27.92 kB / 0.712 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/0.6705, allocations: 1.809 MB / 0.7138 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.6709, allocations: 0.7044 MB / 0.7144 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001739/0.671, allocations: 28.94 kB / 0.7145 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.32e-05/0.6711, allocations: 31.36 kB / 0.7145 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of SimCode: time 8.12e-07/0.6711, allocations: 0 / 0.7145 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01391/0.6851, allocations: 2.963 MB / 0.7174 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002238/0.6853, allocations: 208.9 kB / 0.7176 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/2.591, allocations: 0 / 0.7176 GB, free: 4.984 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)