Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7216/0.7216, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 175.8 kB / 169.7 MB, free: 1.75 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.783/1.783, allocations: 205.1 MB / 404.5 MB, free: 1.59 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009108/0.0009106, allocations: 90.41 kB / 481.8 MB, free: 4.234 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.16e-05/3.181e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1472, allocations: 76.75 MB / 0.6282 GB, free: 9.938 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5229/0.6701, allocations: 103.3 MB / 0.7291 GB, free: 10.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.6705, allocations: 78.31 kB / 0.7292 GB, free: 10.05 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00809/0.6786, allocations: 2.557 MB / 0.7317 GB, free: 7.871 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.669e-06/0.6787, allocations: 0 / 0.7317 GB, free: 7.871 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.497e-05/0.6787, allocations: 8 kB / 0.7317 GB, free: 7.863 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005611/0.6793, allocations: 362.1 kB / 0.7321 GB, free: 7.469 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.376e-05/0.6794, allocations: 8.031 kB / 0.7321 GB, free: 7.461 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.122e-05/0.6794, allocations: 34.56 kB / 0.7321 GB, free: 7.418 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.6795, allocations: 16.39 kB / 0.7321 GB, free: 7.406 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.6796, allocations: 163.1 kB / 0.7323 GB, free: 7.207 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.793e-05/0.6797, allocations: 29.7 kB / 0.7323 GB, free: 7.172 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.6797, allocations: 4 kB / 0.7323 GB, free: 7.168 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.6799, allocations: 68.09 kB / 0.7324 GB, free: 7.105 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.6799, allocations: 0 / 0.7324 GB, free: 7.105 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.68, allocations: 0 / 0.7324 GB, free: 7.105 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.68, allocations: 3.984 kB / 0.7324 GB, free: 7.102 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.867e-05/0.68, allocations: 30.31 kB / 0.7324 GB, free: 7.078 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005916/0.6806, allocations: 312.8 kB / 0.7327 GB, free: 6.742 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.846e-05/0.6807, allocations: 38.58 kB / 0.7327 GB, free: 6.703 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.766e-05/0.6808, allocations: 15.8 kB / 0.7327 GB, free: 6.688 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.6808, allocations: 0 / 0.7327 GB, free: 6.688 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.6808, allocations: 46.02 kB / 0.7328 GB, free: 6.637 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.6809, allocations: 0 / 0.7328 GB, free: 6.637 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002009/0.6811, allocations: 53.28 kB / 0.7328 GB, free: 6.586 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.6811, allocations: 51.41 kB / 0.7329 GB, free: 6.523 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.6812, allocations: 100.2 kB / 0.733 GB, free: 6.422 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.6813, allocations: 29.64 kB / 0.733 GB, free: 6.387 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.121e-05/0.6814, allocations: 95.98 kB / 0.7331 GB, free: 6.293 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.6814, allocations: 11.06 kB / 0.7331 GB, free: 6.285 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-06/0.6814, allocations: 4 kB / 0.7331 GB, free: 6.281 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.6816, allocations: 318.8 kB / 0.7334 GB, free: 5.961 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.619e-05/0.6816, allocations: 9.812 kB / 0.7334 GB, free: 5.957 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.231e-05/0.6817, allocations: 24.16 kB / 0.7335 GB, free: 5.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.347e-05/0.6817, allocations: 11.38 kB / 0.7335 GB, free: 5.922 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6817, allocations: 0 / 0.7335 GB, free: 5.922 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001143/0.6819, allocations: 63.38 kB / 0.7335 GB, free: 5.863 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.6819, allocations: 8.031 kB / 0.7335 GB, free: 5.855 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.6819, allocations: 3.953 kB / 0.7335 GB, free: 5.852 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.6819, allocations: 4 kB / 0.7335 GB, free: 5.848 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.6821, allocations: 19.92 kB / 0.7336 GB, free: 5.828 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.6821, allocations: 0 / 0.7336 GB, free: 5.828 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.317e-05/0.6822, allocations: 15.92 kB / 0.7336 GB, free: 5.812 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.6822, allocations: 0 / 0.7336 GB, free: 5.812 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001072/0.6823, allocations: 108.3 kB / 0.7337 GB, free: 5.703 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.6823, allocations: 7.906 kB / 0.7337 GB, free: 5.695 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.506e-05/0.6824, allocations: 7.094 kB / 0.7337 GB, free: 5.691 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.6824, allocations: 3.953 kB / 0.7337 GB, free: 5.688 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.6824, allocations: 0 / 0.7337 GB, free: 5.688 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.6824, allocations: 4 kB / 0.7337 GB, free: 5.684 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.6826, allocations: 171.9 kB / 0.7339 GB, free: 5.477 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.6826, allocations: 0 / 0.7339 GB, free: 5.477 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.854e-05/0.6827, allocations: 20.05 kB / 0.7339 GB, free: 5.457 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.6827, allocations: 8 kB / 0.7339 GB, free: 5.449 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.6828, allocations: 0 / 0.7339 GB, free: 5.449 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6828, allocations: 0 / 0.7339 GB, free: 5.449 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.6828, allocations: 3.953 kB / 0.7339 GB, free: 5.445 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.683, allocations: 158 kB / 0.734 GB, free: 5.285 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.683, allocations: 77.11 kB / 0.7341 GB, free: 5.191 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.683, allocations: 7.984 kB / 0.7341 GB, free: 5.184 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.6832, allocations: 15.98 kB / 0.7341 GB, free: 5.168 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.6832, allocations: 7.953 kB / 0.7342 GB, free: 5.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.6832, allocations: 0 / 0.7342 GB, free: 5.16 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.669e-05/0.6833, allocations: 90.77 kB / 0.7342 GB, free: 5.074 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6833, allocations: 0 / 0.7342 GB, free: 5.074 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002158/0.6835, allocations: 11.12 kB / 0.7342 GB, free: 5.066 MB / 490.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0004606/0.684, allocations: 0.6913 MB / 0.7349 GB, free: 4.359 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.6841, allocations: 23 kB / 0.7349 GB, free: 4.344 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6841, allocations: 0 / 0.7349 GB, free: 4.344 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.105e-05/0.6842, allocations: 15.38 kB / 0.735 GB, free: 4.332 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.6844, allocations: 7.984 kB / 0.735 GB, free: 4.324 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004041/0.6848, allocations: 121.9 kB / 0.7351 GB, free: 4.18 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.6851, allocations: 0.6926 MB / 0.7358 GB, free: 3.461 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.015e-05/0.6851, allocations: 4.25 kB / 0.7358 GB, free: 3.457 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.552e-05/0.6852, allocations: 14.36 kB / 0.7358 GB, free: 3.445 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.6852, allocations: 0 / 0.7358 GB, free: 3.445 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01382/0.699, allocations: 1.481 MB / 0.7372 GB, free: 2.102 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002229/0.6993, allocations: 179.8 kB / 0.7374 GB, free: 1.871 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/2.294, allocations: 0 / 0.7374 GB, free: 1.871 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)