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.0007755/0.0007754, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.000966/0.000966, allocations: 172.7 kB / 15.95 MB, free: 208 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.367/1.367, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9692/0.9692, allocations: 143.4 MB / 434.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003353, allocations: 8 kB / 0.5161 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.173, allocations: 83.41 MB / 0.5975 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002667/0.1758, allocations: 1.342 MB / 0.5988 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4812/0.657, allocations: 137.7 MB / 0.7333 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.6572, allocations: 1.438 kB / 0.7333 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.6573, allocations: 19.7 kB / 0.7333 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.6576, allocations: 38 kB / 0.7333 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004401/0.658, allocations: 120 kB / 0.7335 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.6582, allocations: 103.8 kB / 0.7336 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.6583, allocations: 29.41 kB / 0.7336 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003458/0.6587, allocations: 116.6 kB / 0.7337 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.705e-05/0.6588, allocations: 36 kB / 0.7337 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.6588, allocations: 4.375 kB / 0.7337 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004068/0.6592, allocations: 178.5 kB / 0.7339 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.992e-05/0.6593, allocations: 20.11 kB / 0.7339 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.39e-05/0.6593, allocations: 45.25 kB / 0.734 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.6596, allocations: 132.3 kB / 0.7341 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.6596, allocations: 0 / 0.7341 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6596, allocations: 1.438 kB / 0.7341 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.6596, allocations: 0 / 0.7341 GB, free: 11.68 MB / 0.5606 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.0006298/0.6602, allocations: 437.5 kB / 0.7345 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.6603, allocations: 9.625 kB / 0.7345 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.471e-05/0.6603, allocations: 39 kB / 0.7346 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008594/0.6612, allocations: 78.78 kB / 0.7346 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.6614, allocations: 200.7 kB / 0.7348 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.6615, allocations: 3.812 kB / 0.7348 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.6615, allocations: 9.484 kB / 0.7348 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/0.662, allocations: 156.5 kB / 0.735 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.662, allocations: 1.375 kB / 0.735 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.662, allocations: 0 / 0.735 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.662, allocations: 7.125 kB / 0.735 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005678/0.6626, allocations: 154.1 kB / 0.7351 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009623/0.6636, allocations: 422 kB / 0.7355 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007478/0.6644, allocations: 258.8 kB / 0.7358 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.6646, allocations: 84.88 kB / 0.7359 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.6647, allocations: 1.094 kB / 0.7359 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.6647, allocations: 37.62 kB / 0.7359 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.6647, allocations: 0 / 0.7359 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0008446/0.6655, allocations: 253.8 kB / 0.7362 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.6656, allocations: 57.77 kB / 0.7362 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.6658, allocations: 142.3 kB / 0.7363 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.6658, allocations: 25.7 kB / 0.7364 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.6659, allocations: 109.3 kB / 0.7365 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.409e-05/0.666, allocations: 29.8 kB / 0.7365 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-06/0.666, allocations: 0 / 0.7365 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.6662, allocations: 326.4 kB / 0.7368 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.6664, allocations: 63.03 kB / 0.7369 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.6667, allocations: 89.16 kB / 0.737 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.6669, allocations: 72.08 kB / 0.737 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6669, allocations: 0 / 0.737 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004817/0.6674, allocations: 182.8 kB / 0.7372 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.6674, allocations: 5.719 kB / 0.7372 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.6675, allocations: 0.875 kB / 0.7372 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.6675, allocations: 1.703 kB / 0.7372 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.6677, allocations: 36.81 kB / 0.7372 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.6677, allocations: 0.9688 kB / 0.7372 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.6679, allocations: 23.86 kB / 0.7373 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.6679, allocations: 3.625 kB / 0.7373 GB, free: 9.469 MB / 0.5606 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 0.0001043/0.668, allocations: 124.5 kB / 0.7374 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.33e-05/0.668, allocations: 8.5 kB / 0.7374 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.086e-05/0.6681, allocations: 20.78 kB / 0.7374 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.6681, allocations: 1.719 kB / 0.7374 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.6681, allocations: 2.125 kB / 0.7374 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.6681, allocations: 0.7031 kB / 0.7374 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000882/0.669, allocations: 485.4 kB / 0.7379 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.669, allocations: 5.25 kB / 0.7379 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.6692, allocations: 39.41 kB / 0.7379 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-06/0.6693, allocations: 2.25 kB / 0.7379 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.6693, allocations: 2.188 kB / 0.7379 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.6693, allocations: 0 / 0.7379 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.6693, allocations: 2.812 kB / 0.7379 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005146/0.6698, allocations: 284.9 kB / 0.7382 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/0.6699, allocations: 90.94 kB / 0.7383 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.6699, allocations: 0.75 kB / 0.7383 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.6701, allocations: 23.73 kB / 0.7383 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.6701, allocations: 10.81 kB / 0.7383 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.6701, allocations: 5.594 kB / 0.7383 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002406/0.6704, allocations: 111.1 kB / 0.7384 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6704, allocations: 3.938 kB / 0.7384 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002799/0.6707, allocations: 28.59 kB / 0.7385 GB, free: 8.578 MB / 0.5606 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.0008948/0.6716, allocations: 0.8301 MB / 0.7393 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004773/0.6721, allocations: 149.2 kB / 0.7394 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6721, allocations: 0 / 0.7394 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.6723, allocations: 77.72 kB / 0.7395 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.6727, allocations: 30.78 kB / 0.7395 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.6747, allocations: 0.8141 MB / 0.7403 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/0.6752, allocations: 0.705 MB / 0.741 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001908/0.6754, allocations: 25.34 kB / 0.741 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.951e-05/0.6755, allocations: 28.77 kB / 0.7411 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.6755, allocations: 0 / 0.7411 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01719/0.6927, allocations: 3.017 MB / 0.744 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/0.6929, allocations: 216.8 kB / 0.7442 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/2.434, allocations: 3.859 kB / 0.7442 GB, free: 5.656 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: