Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="BuildingSystems_BuildingSystems_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.001342/0.001342, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00149/0.00149, allocations: 193.9 kB / 16.14 MB, free: 6.707 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.323/1.323, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001969/0.001969, allocations: 282.8 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9213/0.9213, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 91.36 kB / 0.5946 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1627, allocations: 86.98 MB / 0.6795 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003363/0.1661, allocations: 1.969 MB / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5342/0.7004, allocations: 153.1 MB / 0.831 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.7006, allocations: 2.406 kB / 0.831 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.7007, allocations: 20.8 kB / 0.831 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002485/0.701, allocations: 71.27 kB / 0.8311 GB, free: 492 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006081/0.7016, allocations: 222.3 kB / 0.8313 GB, free: 464 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000218/0.7018, allocations: 256.7 kB / 0.8316 GB, free: 416 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.702, allocations: 63.67 kB / 0.8316 GB, free: 408 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001796/0.7038, allocations: 228 kB / 0.8318 GB, free: 372 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.7039, allocations: 90.92 kB / 0.8319 GB, free: 352 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.704, allocations: 9.125 kB / 0.8319 GB, free: 352 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000354/0.7043, allocations: 182.8 kB / 0.8321 GB, free: 340 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.277e-05/0.7044, allocations: 39.8 kB / 0.8321 GB, free: 332 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.745e-05/0.7045, allocations: 89.05 kB / 0.8322 GB, free: 304 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.7049, allocations: 271.6 kB / 0.8325 GB, free: 260 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.7049, allocations: 0 / 0.8325 GB, free: 260 kB / 0.5606 GB Notification: Performance of FrontEnd: time 9.02e-07/0.7049, allocations: 1.312 kB / 0.8325 GB, free: 260 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.517e-06/0.7049, allocations: 4 kB / 0.8325 GB, free: 256 kB / 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.000954/0.7058, allocations: 0.5265 MB / 0.833 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.7059, allocations: 8.781 kB / 0.833 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.536e-05/0.706, allocations: 51.08 kB / 0.8331 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008338/0.7068, allocations: 85.75 kB / 0.8331 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.707, allocations: 231.1 kB / 0.8334 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.177e-05/0.7071, allocations: 36.97 kB / 0.8334 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.7072, allocations: 17.62 kB / 0.8334 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004926/0.7077, allocations: 263.6 kB / 0.8337 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.7077, allocations: 0.875 kB / 0.8337 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.7077, allocations: 5.469 kB / 0.8337 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.7077, allocations: 4.75 kB / 0.8337 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004276/0.7082, allocations: 173.3 kB / 0.8338 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.7097, allocations: 1.183 MB / 0.835 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007435/0.7105, allocations: 203.5 kB / 0.8352 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.7107, allocations: 77.25 kB / 0.8353 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.7107, allocations: 8.984 kB / 0.8353 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.7107, allocations: 35.81 kB / 0.8353 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.814e-06/0.7107, allocations: 0 / 0.8353 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.002891/0.7136, allocations: 0.6293 MB / 0.8359 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.7137, allocations: 52.75 kB / 0.836 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003044/0.714, allocations: 215.7 kB / 0.8362 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.7141, allocations: 34.58 kB / 0.8362 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.7142, allocations: 137.7 kB / 0.8363 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.511e-05/0.7142, allocations: 40.8 kB / 0.8364 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.7144, allocations: 49.8 kB / 0.8364 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.7145, allocations: 330.2 kB / 0.8367 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.7147, allocations: 65.09 kB / 0.8368 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/0.7151, allocations: 136.8 kB / 0.8369 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004185/0.7155, allocations: 196.3 kB / 0.8371 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.7155, allocations: 1.062 kB / 0.8371 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001512/0.717, allocations: 374.1 kB / 0.8375 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.717, allocations: 7.875 kB / 0.8375 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.7171, allocations: 5.906 kB / 0.8375 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/0.7182, allocations: 158.7 kB / 0.8376 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.7185, allocations: 35.83 kB / 0.8377 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004288/0.7228, allocations: 3.04 MB / 0.8406 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003901/0.7232, allocations: 29.98 kB / 0.8407 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.7232, allocations: 13.33 kB / 0.8407 GB, free: 10.58 MB / 0.5762 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.00015/0.7234, allocations: 137.4 kB / 0.8408 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.068e-05/0.7234, allocations: 20.72 kB / 0.8408 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.7248, allocations: 370.5 kB / 0.8412 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.7248, allocations: 2.469 kB / 0.8412 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.7248, allocations: 3.938 kB / 0.8412 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.7248, allocations: 1.281 kB / 0.8412 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003529/0.7251, allocations: 280.8 kB / 0.8415 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.7252, allocations: 0 / 0.8415 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.7253, allocations: 28.42 kB / 0.8415 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009981/0.7263, allocations: 162.8 kB / 0.8417 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.7263, allocations: 3.562 kB / 0.8417 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003519/0.7299, allocations: 3.07 MB / 0.8447 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.7299, allocations: 64 / 0.8447 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.7312, allocations: 436.5 kB / 0.8451 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.7313, allocations: 114.3 kB / 0.8452 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.7314, allocations: 8.328 kB / 0.8452 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.7317, allocations: 20.48 kB / 0.8452 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.561e-05/0.7318, allocations: 14.17 kB / 0.8452 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.7318, allocations: 12.77 kB / 0.8452 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002056/0.732, allocations: 158.1 kB / 0.8454 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.732, allocations: 0 / 0.8454 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004694/0.7325, allocations: 76.5 kB / 0.8455 GB, free: 6.73 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 (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.001637/0.7341, allocations: 0.9722 MB / 0.8464 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001028/0.7352, allocations: 444 kB / 0.8468 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.7352, allocations: 4.688 kB / 0.8468 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000656/0.7359, allocations: 349.4 kB / 0.8472 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.7363, allocations: 62.27 kB / 0.8472 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004929/0.7412, allocations: 2.593 MB / 0.8498 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.7415, allocations: 0.7392 MB / 0.8505 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002168/0.7418, allocations: 33.62 kB / 0.8505 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.121e-05/0.7419, allocations: 60.06 kB / 0.8506 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of SimCode: time 5.41e-07/0.7419, allocations: 0 / 0.8506 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/0.7602, allocations: 6.757 MB / 0.8572 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002363/0.7604, allocations: 265.2 kB / 0.8574 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.973/2.733, allocations: 0 / 0.8574 GB, free: 15.34 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)