Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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_TDryBulXi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",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.0006983/0.0006984, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.004378/0.004378, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.236/1.236, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001694/0.001694, allocations: 274.1 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9308/0.9308, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004649/0.000465, allocations: 16.22 kB / 0.5988 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1837, allocations: 88.55 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.00233/0.1861, allocations: 1.384 MB / 0.6866 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5369/0.723, allocations: 145.8 MB / 0.829 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.7231, allocations: 1.156 kB / 0.829 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.7233, allocations: 16.61 kB / 0.829 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.7236, allocations: 48.89 kB / 0.8291 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004758/0.7241, allocations: 156.6 kB / 0.8292 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000197/0.7243, allocations: 157.9 kB / 0.8294 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.7244, allocations: 36.86 kB / 0.8294 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001744/0.7262, allocations: 171.7 kB / 0.8296 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.898e-05/0.7263, allocations: 50.64 kB / 0.8296 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.7263, allocations: 4.281 kB / 0.8296 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003153/0.7266, allocations: 165.8 kB / 0.8298 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.038e-05/0.7267, allocations: 23.31 kB / 0.8298 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.023e-05/0.7268, allocations: 71.89 kB / 0.8299 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.727, allocations: 195.6 kB / 0.83 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.7271, allocations: 4.906 kB / 0.83 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7271, allocations: 3.938 kB / 0.8301 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.7271, allocations: 0 / 0.8301 GB, free: 14.31 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007645/0.7278, allocations: 461.4 kB / 0.8305 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.7279, allocations: 9.844 kB / 0.8305 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.597e-05/0.7279, allocations: 41.05 kB / 0.8305 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005859/0.7285, allocations: 55.69 kB / 0.8306 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.7288, allocations: 201.7 kB / 0.8308 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.7288, allocations: 7.406 kB / 0.8308 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.7288, allocations: 5.625 kB / 0.8308 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004499/0.7293, allocations: 196.4 kB / 0.831 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.7293, allocations: 0 / 0.831 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.7293, allocations: 3.062 kB / 0.831 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.7293, allocations: 2.969 kB / 0.831 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005206/0.7298, allocations: 173.2 kB / 0.8312 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.7309, allocations: 0.82 MB / 0.832 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003946/0.7313, allocations: 149.5 kB / 0.8321 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002629/0.7316, allocations: 95.09 kB / 0.8322 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.7316, allocations: 1.375 kB / 0.8322 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.7316, allocations: 35.66 kB / 0.8322 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.7316, allocations: 0 / 0.8322 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001892/0.7335, allocations: 496.3 kB / 0.8327 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.7336, allocations: 56.88 kB / 0.8328 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.7337, allocations: 146.8 kB / 0.8329 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.7338, allocations: 25.7 kB / 0.8329 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.459e-05/0.7339, allocations: 111.2 kB / 0.833 GB, free: 12 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.7339, allocations: 31.55 kB / 0.8331 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.7339, allocations: 15.94 kB / 0.8331 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.7341, allocations: 321.3 kB / 0.8334 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.7343, allocations: 79.09 kB / 0.8334 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.7346, allocations: 116.1 kB / 0.8336 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005074/0.7351, allocations: 199.4 kB / 0.8338 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7351, allocations: 0 / 0.8338 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001021/0.7362, allocations: 302.6 kB / 0.834 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.7362, allocations: 9.906 kB / 0.834 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.7362, allocations: 9.047 kB / 0.8341 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005621/0.7368, allocations: 82.86 kB / 0.8341 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.7371, allocations: 41.28 kB / 0.8342 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/0.739, allocations: 1.546 MB / 0.8357 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.7392, allocations: 32.48 kB / 0.8357 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.7393, allocations: 8.703 kB / 0.8357 GB, free: 9.895 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.7394, allocations: 127.2 kB / 0.8358 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.7394, allocations: 9.531 kB / 0.8359 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.7405, allocations: 334.6 kB / 0.8362 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.7405, allocations: 2.188 kB / 0.8362 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.7405, allocations: 0 / 0.8362 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.7405, allocations: 9.188 kB / 0.8362 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.7408, allocations: 253.4 kB / 0.8364 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.7408, allocations: 0 / 0.8364 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.741, allocations: 39.86 kB / 0.8365 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004738/0.7415, allocations: 85.2 kB / 0.8365 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.7415, allocations: 6.438 kB / 0.8366 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/0.7431, allocations: 1.569 MB / 0.8381 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.7431, allocations: 0.875 kB / 0.8381 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009787/0.7441, allocations: 403.3 kB / 0.8385 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.992e-05/0.7442, allocations: 102.2 kB / 0.8386 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.7442, allocations: 10.95 kB / 0.8386 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.7444, allocations: 21.11 kB / 0.8386 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.7445, allocations: 11.05 kB / 0.8386 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.7445, allocations: 6.797 kB / 0.8386 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.61e-05/0.7446, allocations: 124.8 kB / 0.8387 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7446, allocations: 0 / 0.8387 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003159/0.7449, allocations: 49.03 kB / 0.8388 GB, free: 7.504 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001292/0.7462, allocations: 0.9466 MB / 0.8397 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008146/0.747, allocations: 334.4 kB / 0.84 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.747, allocations: 0 / 0.84 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004991/0.7476, allocations: 232 kB / 0.8402 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.7479, allocations: 26.81 kB / 0.8403 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0036/0.7515, allocations: 2.162 MB / 0.8424 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.7517, allocations: 0.7059 MB / 0.8431 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001692/0.7519, allocations: 27.44 kB / 0.8431 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.179e-05/0.752, allocations: 42.53 kB / 0.8431 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of SimCode: time 3.8e-07/0.752, allocations: 0 / 0.8431 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.7669, allocations: 4.238 MB / 0.8473 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/0.7671, allocations: 258.1 kB / 0.8475 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/2.531, allocations: 0 / 0.8475 GB, free: 1.625 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)