Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/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.TWetBul_TDryBulPhi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IBPSA_latest_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.005683/0.005683, allocations: 100.4 kB / 15.87 MB, free: 6.312 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.001346/0.001346, allocations: 194.9 kB / 16.79 MB, free: 6.242 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.279/1.279, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7295/0.7295, allocations: 115.3 MB / 406 MB, free: 2.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 63.25 kB / 493 MB, free: 6.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1373, allocations: 76.19 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00319/0.1405, allocations: 1.961 MB / 0.5578 GB, free: 8.758 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3869/0.5275, allocations: 153.1 MB / 0.7073 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.5277, allocations: 0 / 0.7073 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.5278, allocations: 19.8 kB / 0.7073 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.528, allocations: 59.56 kB / 0.7074 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005524/0.5286, allocations: 234 kB / 0.7076 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.5288, allocations: 255.1 kB / 0.7078 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.529, allocations: 60.81 kB / 0.7079 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001688/0.5307, allocations: 242.1 kB / 0.7081 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.5308, allocations: 87.61 kB / 0.7082 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.905e-05/0.5308, allocations: 12 kB / 0.7082 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002946/0.5311, allocations: 175.7 kB / 0.7084 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.528e-05/0.5312, allocations: 39.89 kB / 0.7084 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.54e-05/0.5313, allocations: 87.52 kB / 0.7085 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003312/0.5316, allocations: 279.2 kB / 0.7088 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.5316, allocations: 7.922 kB / 0.7088 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.82e-07/0.5316, allocations: 0 / 0.7088 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.5317, allocations: 0 / 0.7088 GB, free: 10.38 MB / 0.5294 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.0008621/0.5325, allocations: 0.5231 MB / 0.7093 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.5326, allocations: 8.031 kB / 0.7093 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.824e-05/0.5326, allocations: 46.55 kB / 0.7094 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008231/0.5334, allocations: 91.72 kB / 0.7094 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.5337, allocations: 218.6 kB / 0.7097 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-05/0.5337, allocations: 42.02 kB / 0.7097 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.5338, allocations: 23.94 kB / 0.7097 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004812/0.5343, allocations: 259.3 kB / 0.71 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.5343, allocations: 4 kB / 0.71 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.5343, allocations: 4 kB / 0.71 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.5343, allocations: 8 kB / 0.71 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004424/0.5348, allocations: 171.7 kB / 0.7101 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.5363, allocations: 1.174 MB / 0.7113 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007027/0.537, allocations: 206.7 kB / 0.7115 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.5372, allocations: 68.81 kB / 0.7116 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.5372, allocations: 4 kB / 0.7116 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.5372, allocations: 34.5 kB / 0.7116 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.153e-06/0.5372, allocations: 0 / 0.7116 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.002537/0.5398, allocations: 0.6405 MB / 0.7122 GB, free: 6.605 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.5398, allocations: 51.41 kB / 0.7123 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.54, allocations: 211 kB / 0.7125 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.5401, allocations: 33.7 kB / 0.7125 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.711e-05/0.5402, allocations: 143.9 kB / 0.7126 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.5402, allocations: 35.45 kB / 0.7127 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.369e-05/0.5403, allocations: 53.59 kB / 0.7127 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.5404, allocations: 330.8 kB / 0.713 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.5406, allocations: 75.88 kB / 0.7131 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.5409, allocations: 127.7 kB / 0.7132 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004016/0.5413, allocations: 199.5 kB / 0.7134 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.5413, allocations: 4 kB / 0.7134 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001401/0.5427, allocations: 379.8 kB / 0.7138 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.5427, allocations: 4 kB / 0.7138 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.5427, allocations: 4 kB / 0.7138 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/0.5438, allocations: 165.7 kB / 0.714 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.544, allocations: 39.89 kB / 0.714 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003726/0.5478, allocations: 3.031 MB / 0.7169 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003423/0.5481, allocations: 27.83 kB / 0.717 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.5481, allocations: 11.98 kB / 0.717 GB, free: 1.34 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001467/0.5483, allocations: 129.7 kB / 0.7171 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/0.5484, allocations: 19.75 kB / 0.7171 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.5497, allocations: 376.4 kB / 0.7175 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.5497, allocations: 4 kB / 0.7175 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-06/0.5497, allocations: 3.938 kB / 0.7175 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.5497, allocations: 0 / 0.7175 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.55, allocations: 277.4 kB / 0.7178 GB, free: 480 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.55, allocations: 0 / 0.7178 GB, free: 480 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.5502, allocations: 19.98 kB / 0.7178 GB, free: 460 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009635/0.5511, allocations: 169.5 kB / 0.7179 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.5512, allocations: 0 / 0.7179 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003482/0.5547, allocations: 3.078 MB / 0.7209 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5547, allocations: 3.938 kB / 0.721 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.5559, allocations: 430.7 kB / 0.7214 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.556, allocations: 120.7 kB / 0.7215 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.5561, allocations: 4 kB / 0.7215 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/0.5564, allocations: 20.09 kB / 0.7215 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.678e-05/0.5565, allocations: 15.97 kB / 0.7215 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.5565, allocations: 16 kB / 0.7215 GB, free: 12.29 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001803/0.5567, allocations: 159.9 kB / 0.7217 GB, free: 12.13 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5567, allocations: 0 / 0.7217 GB, free: 12.13 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004154/0.5571, allocations: 67.94 kB / 0.7217 GB, free: 12.07 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001569/0.5587, allocations: 0.9769 MB / 0.7227 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000973/0.5597, allocations: 445.9 kB / 0.7231 GB, free: 10.59 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5597, allocations: 0 / 0.7231 GB, free: 10.59 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006358/0.5603, allocations: 357.2 kB / 0.7235 GB, free: 10.22 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.5608, allocations: 59.89 kB / 0.7235 GB, free: 10.16 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004734/0.5655, allocations: 2.584 MB / 0.726 GB, free: 7.453 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.5658, allocations: 0.7323 MB / 0.7268 GB, free: 6.695 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002049/0.5661, allocations: 38.94 kB / 0.7268 GB, free: 6.66 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.818e-05/0.5662, allocations: 67.34 kB / 0.7269 GB, free: 6.594 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.5662, allocations: 0 / 0.7269 GB, free: 6.594 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7687/1.335, allocations: 6.716 MB / 0.7334 GB, free: 76 kB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003068/1.335, allocations: 244.7 kB / 0.7337 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.374/3.709, allocations: 0 / 0.7337 GB, free: 15.82 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)