Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="BuildSysPro_BuildSysPro_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.001236/0.001236, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.00161/0.00161, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.009/1.009, allocations: 143.3 MB / 434.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003915/0.0003916, allocations: 8 kB / 0.5159 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1823, allocations: 83.41 MB / 0.5973 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001995/0.1844, allocations: 1.323 MB / 0.5986 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4826/0.667, allocations: 127.9 MB / 0.7236 GB, free: 4.453 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.6671, allocations: 1.5 kB / 0.7236 GB, free: 4.453 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.6673, allocations: 6.422 kB / 0.7236 GB, free: 4.449 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000237/0.6675, allocations: 51.81 kB / 0.7236 GB, free: 4.414 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004176/0.6679, allocations: 124.2 kB / 0.7237 GB, free: 4.352 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.6681, allocations: 79.61 kB / 0.7238 GB, free: 4.309 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.6682, allocations: 31.28 kB / 0.7238 GB, free: 4.297 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002457/0.6685, allocations: 88.16 kB / 0.7239 GB, free: 4.266 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.748e-05/0.6686, allocations: 32.56 kB / 0.7239 GB, free: 4.254 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.6686, allocations: 6.562 kB / 0.724 GB, free: 4.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003976/0.669, allocations: 186.1 kB / 0.7241 GB, free: 4.207 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.329e-05/0.669, allocations: 12.64 kB / 0.7241 GB, free: 4.203 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.6691, allocations: 45.16 kB / 0.7242 GB, free: 4.16 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.6693, allocations: 131.5 kB / 0.7243 GB, free: 4.137 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.6693, allocations: 0 / 0.7243 GB, free: 4.137 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6693, allocations: 5.219 kB / 0.7243 GB, free: 4.133 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.6693, allocations: 0 / 0.7243 GB, free: 4.133 MB / 0.545 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.0005564/0.6699, allocations: 432.3 kB / 0.7247 GB, free: 3.738 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.6699, allocations: 8.844 kB / 0.7247 GB, free: 3.738 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.661e-05/0.67, allocations: 42.59 kB / 0.7248 GB, free: 3.691 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008817/0.6709, allocations: 77.83 kB / 0.7249 GB, free: 3.684 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.6711, allocations: 209 kB / 0.7251 GB, free: 3.465 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.6711, allocations: 7.594 kB / 0.7251 GB, free: 3.461 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.6712, allocations: 13.84 kB / 0.7251 GB, free: 3.453 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004323/0.6716, allocations: 149.6 kB / 0.7252 GB, free: 3.395 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.6716, allocations: 0 / 0.7252 GB, free: 3.395 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.6717, allocations: 10.19 kB / 0.7252 GB, free: 3.387 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.6717, allocations: 5.172 kB / 0.7252 GB, free: 3.383 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005707/0.6722, allocations: 157.2 kB / 0.7254 GB, free: 3.352 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007506/0.673, allocations: 406.2 kB / 0.7258 GB, free: 3.023 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007039/0.6737, allocations: 270.8 kB / 0.726 GB, free: 2.855 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.6737, allocations: 1.031 kB / 0.726 GB, free: 2.855 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.6738, allocations: 36.44 kB / 0.7261 GB, free: 2.812 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.6738, allocations: 0 / 0.7261 GB, free: 2.812 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0008094/0.6746, allocations: 246.9 kB / 0.7263 GB, free: 2.734 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.6746, allocations: 53.14 kB / 0.7263 GB, free: 2.672 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.6748, allocations: 148.8 kB / 0.7265 GB, free: 2.559 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.6748, allocations: 25.7 kB / 0.7265 GB, free: 2.527 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.6749, allocations: 104.8 kB / 0.7266 GB, free: 2.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.6749, allocations: 24.95 kB / 0.7266 GB, free: 2.41 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.688e-06/0.6749, allocations: 4 kB / 0.7266 GB, free: 2.406 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.675, allocations: 324.9 kB / 0.7269 GB, free: 2.086 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.6752, allocations: 64.69 kB / 0.727 GB, free: 2.074 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.6755, allocations: 88.31 kB / 0.7271 GB, free: 2.035 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.6757, allocations: 69.16 kB / 0.7272 GB, free: 2.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6758, allocations: 0 / 0.7272 GB, free: 2.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005282/0.6763, allocations: 190.6 kB / 0.7273 GB, free: 1.945 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.6763, allocations: 8.719 kB / 0.7274 GB, free: 1.941 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.6763, allocations: 0.5625 kB / 0.7274 GB, free: 1.941 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.6763, allocations: 1.062 kB / 0.7274 GB, free: 1.941 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.6766, allocations: 37.45 kB / 0.7274 GB, free: 1.938 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.6766, allocations: 0.5469 kB / 0.7274 GB, free: 1.938 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.6767, allocations: 20.5 kB / 0.7274 GB, free: 1.938 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.6768, allocations: 7.844 kB / 0.7274 GB, free: 1.934 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.597e-05/0.6769, allocations: 122 kB / 0.7275 GB, free: 1.812 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/0.6769, allocations: 12.19 kB / 0.7275 GB, free: 1.805 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.573e-05/0.677, allocations: 17.42 kB / 0.7276 GB, free: 1.793 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.677, allocations: 1.875 kB / 0.7276 GB, free: 1.793 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.677, allocations: 0.5625 kB / 0.7276 GB, free: 1.793 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.677, allocations: 0.5625 kB / 0.7276 GB, free: 1.793 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008481/0.6778, allocations: 493.1 kB / 0.728 GB, free: 1.426 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.6779, allocations: 5.688 kB / 0.728 GB, free: 1.422 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/0.6781, allocations: 38.77 kB / 0.7281 GB, free: 1.418 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.6781, allocations: 1.953 kB / 0.7281 GB, free: 1.418 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.6781, allocations: 4.703 kB / 0.7281 GB, free: 1.414 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.6781, allocations: 1.375 kB / 0.7281 GB, free: 1.414 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6781, allocations: 1.25 kB / 0.7281 GB, free: 1.414 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00053/0.6787, allocations: 284 kB / 0.7284 GB, free: 1.242 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.45e-05/0.6787, allocations: 84.3 kB / 0.7284 GB, free: 1.145 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.6787, allocations: 6.875 kB / 0.7284 GB, free: 1.141 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.6789, allocations: 21.2 kB / 0.7285 GB, free: 1.137 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.679, allocations: 9.656 kB / 0.7285 GB, free: 1.133 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.679, allocations: 6.703 kB / 0.7285 GB, free: 1.133 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.943e-05/0.6791, allocations: 111.4 kB / 0.7286 GB, free: 1.047 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6791, allocations: 0 / 0.7286 GB, free: 1.047 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000281/0.6794, allocations: 24.56 kB / 0.7286 GB, free: 1.047 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008715/0.6802, allocations: 0.8346 MB / 0.7294 GB, free: 344 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004979/0.6808, allocations: 146.5 kB / 0.7296 GB, free: 316 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6808, allocations: 0 / 0.7296 GB, free: 316 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002397/0.681, allocations: 80.44 kB / 0.7296 GB, free: 296 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.6813, allocations: 23.42 kB / 0.7297 GB, free: 292 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.683, allocations: 0.8189 MB / 0.7305 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.6833, allocations: 0.7083 MB / 0.7312 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001701/0.6835, allocations: 29.14 kB / 0.7312 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.347e-05/0.6835, allocations: 28.69 kB / 0.7312 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of SimCode: time 3.5e-07/0.6836, allocations: 0 / 0.7312 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.6985, allocations: 2.982 MB / 0.7341 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/0.6987, allocations: 203.8 kB / 0.7343 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/2.481, allocations: 0 / 0.7343 GB, free: 14.62 MB / 0.5606 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) Environment - environmentSimulation: