Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.TWetBul_TDryBulPhi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.0009852/0.0009852, allocations: 91.22 kB / 15.06 MB, free: 1.094 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.001242/0.001243, allocations: 172.7 kB / 15.95 MB, free: 204 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.38/1.38, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.01/1.01, allocations: 143.4 MB / 434.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.000351, allocations: 16 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.173, allocations: 83.42 MB / 0.5975 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002001/0.1751, allocations: 1.553 MB / 0.599 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5109/0.686, allocations: 141.3 MB / 0.737 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.6862, allocations: 1.375 kB / 0.737 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.6864, allocations: 18.69 kB / 0.737 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.6866, allocations: 63.52 kB / 0.7371 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007346/0.6874, allocations: 214.5 kB / 0.7373 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002825/0.6877, allocations: 230.4 kB / 0.7375 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.6878, allocations: 55.48 kB / 0.7376 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004647/0.6883, allocations: 180.3 kB / 0.7377 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.6885, allocations: 72.64 kB / 0.7378 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.6885, allocations: 5.688 kB / 0.7378 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004022/0.6889, allocations: 172 kB / 0.738 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.095e-05/0.689, allocations: 27.53 kB / 0.738 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.292e-05/0.689, allocations: 57.14 kB / 0.7381 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000302/0.6893, allocations: 198 kB / 0.7382 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.6894, allocations: 5.031 kB / 0.7383 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6894, allocations: 0 / 0.7383 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.6894, allocations: 0.75 kB / 0.7383 GB, free: 8.922 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008542/0.6902, allocations: 0.4886 MB / 0.7387 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.6903, allocations: 8.844 kB / 0.7387 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.276e-05/0.6903, allocations: 48.19 kB / 0.7388 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007906/0.6911, allocations: 88.66 kB / 0.7389 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.6914, allocations: 220.6 kB / 0.7391 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.337e-05/0.6915, allocations: 42.16 kB / 0.7391 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.6915, allocations: 17.28 kB / 0.7391 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005233/0.6921, allocations: 262.7 kB / 0.7394 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.6921, allocations: 4.562 kB / 0.7394 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.6921, allocations: 6.438 kB / 0.7394 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.6921, allocations: 6.188 kB / 0.7394 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000427/0.6926, allocations: 180.4 kB / 0.7396 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/0.6942, allocations: 1.178 MB / 0.7407 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000698/0.6949, allocations: 215.5 kB / 0.7409 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.6951, allocations: 80.2 kB / 0.741 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.6951, allocations: 4.641 kB / 0.741 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.6951, allocations: 34.7 kB / 0.741 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.6951, allocations: 0 / 0.741 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.002456/0.6976, allocations: 0.6457 MB / 0.7417 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.6977, allocations: 56.64 kB / 0.7417 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.6979, allocations: 196.3 kB / 0.7419 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.6979, allocations: 33.23 kB / 0.7419 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.953e-05/0.698, allocations: 141.1 kB / 0.7421 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.6981, allocations: 36.45 kB / 0.7421 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.507e-05/0.6981, allocations: 5.281 kB / 0.7421 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.6982, allocations: 329.9 kB / 0.7424 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.6984, allocations: 68.19 kB / 0.7425 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.6987, allocations: 143.2 kB / 0.7426 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.6989, allocations: 85.89 kB / 0.7427 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6989, allocations: 0 / 0.7427 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00129/0.7002, allocations: 389 kB / 0.7431 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.7002, allocations: 5.438 kB / 0.7431 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.7002, allocations: 2 kB / 0.7431 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009674/0.7012, allocations: 171.2 kB / 0.7433 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.7014, allocations: 43.25 kB / 0.7433 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004088/0.7055, allocations: 3.031 MB / 0.7463 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003601/0.7059, allocations: 37.61 kB / 0.7463 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.706, allocations: 13.95 kB / 0.7463 GB, free: 2.605 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001717/0.7061, allocations: 131.5 kB / 0.7464 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.69e-05/0.7062, allocations: 16.06 kB / 0.7465 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.7075, allocations: 383.5 kB / 0.7468 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.7075, allocations: 2.75 kB / 0.7468 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.7075, allocations: 3.938 kB / 0.7468 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.7075, allocations: 1.828 kB / 0.7468 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003673/0.7079, allocations: 274 kB / 0.7471 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.7079, allocations: 0.75 kB / 0.7471 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.708, allocations: 23.8 kB / 0.7471 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008873/0.7089, allocations: 170.2 kB / 0.7473 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.709, allocations: 1.984 kB / 0.7473 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003385/0.7124, allocations: 3.075 MB / 0.7503 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.7124, allocations: 4 kB / 0.7503 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.7136, allocations: 445.8 kB / 0.7507 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.7137, allocations: 112.9 kB / 0.7508 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.7137, allocations: 7.984 kB / 0.7508 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/0.714, allocations: 19.92 kB / 0.7508 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.381e-05/0.7141, allocations: 15.98 kB / 0.7509 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.7141, allocations: 7.984 kB / 0.7509 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001696/0.7143, allocations: 150.7 kB / 0.751 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7143, allocations: 0 / 0.751 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004708/0.7148, allocations: 71.94 kB / 0.7511 GB, free: 13.88 MB / 0.5762 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 (12): * Single equations (assignments): 10 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001512/0.7163, allocations: 0.981 MB / 0.752 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009951/0.7173, allocations: 457.2 kB / 0.7525 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7173, allocations: 0 / 0.7525 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006088/0.7179, allocations: 375 kB / 0.7528 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.7184, allocations: 51.92 kB / 0.7529 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/0.7213, allocations: 1.316 MB / 0.7542 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.7216, allocations: 0.7251 MB / 0.7549 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002154/0.7218, allocations: 41.92 kB / 0.7549 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.433e-05/0.7219, allocations: 51.42 kB / 0.755 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.7219, allocations: 0 / 0.755 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.7412, allocations: 6.687 MB / 0.7615 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/0.7414, allocations: 238.4 kB / 0.7617 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/2.627, allocations: 0 / 0.7617 GB, free: 3.125 MB / 0.5762 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) Environment - environmentSimulation: