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.001205/0.001205, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001296/0.001296, allocations: 193.2 kB / 16.25 MB, free: 6.625 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.345/1.345, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001992/0.001992, allocations: 290.5 kB / 290.3 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9564/0.9564, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001626, allocations: 92.98 kB / 0.5948 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1819, allocations: 86.97 MB / 0.6797 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002977/0.1849, allocations: 1.966 MB / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5159/0.7008, allocations: 153.2 MB / 0.8313 GB, free: 208 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002139/0.7011, allocations: 2.094 kB / 0.8313 GB, free: 208 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.7013, allocations: 17.84 kB / 0.8313 GB, free: 200 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.7016, allocations: 74.06 kB / 0.8313 GB, free: 168 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007397/0.7024, allocations: 229.7 kB / 0.8316 GB, free: 140 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000251/0.7026, allocations: 266.1 kB / 0.8318 GB, free: 88 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.7028, allocations: 67.61 kB / 0.8319 GB, free: 80 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001715/0.7045, allocations: 247.6 kB / 0.8321 GB, free: 48 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.7047, allocations: 97.47 kB / 0.8322 GB, free: 20 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.306e-05/0.7047, allocations: 15.81 kB / 0.8322 GB, free: 20 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003449/0.7051, allocations: 186.5 kB / 0.8324 GB, free: 8 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.7051, allocations: 45.41 kB / 0.8324 GB, free: 0 / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.7052, allocations: 97.05 kB / 0.8325 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000349/0.7056, allocations: 272.7 kB / 0.8328 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.7056, allocations: 0 / 0.8328 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.276e-06/0.7056, allocations: 1.219 kB / 0.8328 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.7056, allocations: 3.938 kB / 0.8328 GB, free: 15.93 MB / 0.5762 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.0009225/0.7066, allocations: 0.5256 MB / 0.8333 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.7066, allocations: 10.06 kB / 0.8333 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.782e-05/0.7067, allocations: 51.06 kB / 0.8334 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008416/0.7075, allocations: 83.14 kB / 0.8335 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.7077, allocations: 231.4 kB / 0.8337 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-05/0.7078, allocations: 40.72 kB / 0.8337 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.7079, allocations: 17.97 kB / 0.8337 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004802/0.7084, allocations: 264 kB / 0.834 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.7084, allocations: 0 / 0.834 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/0.7084, allocations: 13.22 kB / 0.834 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.7084, allocations: 4.25 kB / 0.834 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004163/0.7088, allocations: 171.7 kB / 0.8342 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.7104, allocations: 1.183 MB / 0.8353 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007142/0.7111, allocations: 206.8 kB / 0.8355 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.7113, allocations: 72.08 kB / 0.8356 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.7113, allocations: 1.406 kB / 0.8356 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.7113, allocations: 35.72 kB / 0.8356 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.7113, allocations: 4 kB / 0.8356 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.002633/0.714, allocations: 0.6243 MB / 0.8362 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.714, allocations: 52.47 kB / 0.8363 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.7143, allocations: 221.6 kB / 0.8365 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.7143, allocations: 26.67 kB / 0.8365 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.856e-05/0.7144, allocations: 140.6 kB / 0.8367 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.7144, allocations: 46.45 kB / 0.8367 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.823e-05/0.7145, allocations: 51.3 kB / 0.8368 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.7146, allocations: 326.3 kB / 0.8371 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.7148, allocations: 71.73 kB / 0.8371 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.7151, allocations: 128.2 kB / 0.8373 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/0.7155, allocations: 202.8 kB / 0.8374 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7155, allocations: 1.219 kB / 0.8374 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00138/0.7168, allocations: 367.6 kB / 0.8378 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.7169, allocations: 7.922 kB / 0.8378 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.7169, allocations: 1.562 kB / 0.8378 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.718, allocations: 159 kB / 0.838 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.7182, allocations: 43.06 kB / 0.838 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003922/0.7221, allocations: 3.26 MB / 0.8412 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003729/0.7225, allocations: 31.41 kB / 0.8412 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.7225, allocations: 10.28 kB / 0.8412 GB, free: 10.09 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.0001412/0.7227, allocations: 133.5 kB / 0.8413 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.725e-05/0.7228, allocations: 22.16 kB / 0.8414 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.724, allocations: 370.6 kB / 0.8417 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.7241, allocations: 2.625 kB / 0.8417 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.7241, allocations: 0 / 0.8417 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.7241, allocations: 8.031 kB / 0.8417 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.7244, allocations: 282.1 kB / 0.842 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.7244, allocations: 0 / 0.842 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.7245, allocations: 22.48 kB / 0.842 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008306/0.7254, allocations: 140 kB / 0.8422 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.7254, allocations: 2.125 kB / 0.8422 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003672/0.7291, allocations: 3.309 MB / 0.8454 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.7291, allocations: 0 / 0.8454 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.7303, allocations: 434.8 kB / 0.8458 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.964e-05/0.7304, allocations: 116.5 kB / 0.8459 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.416e-05/0.7304, allocations: 1.375 kB / 0.8459 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00028/0.7307, allocations: 16.72 kB / 0.8459 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.543e-05/0.7308, allocations: 23.2 kB / 0.846 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.7308, allocations: 4.125 kB / 0.846 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001649/0.731, allocations: 163.2 kB / 0.8461 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.731, allocations: 0 / 0.8461 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003903/0.7314, allocations: 69.94 kB / 0.8462 GB, free: 6.477 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.00161/0.733, allocations: 0.9814 MB / 0.8471 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000975/0.734, allocations: 450.2 kB / 0.8476 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.734, allocations: 1.688 kB / 0.8476 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000638/0.7347, allocations: 358.5 kB / 0.8479 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.7351, allocations: 71.89 kB / 0.848 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004716/0.7398, allocations: 2.584 MB / 0.8505 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.7401, allocations: 0.7337 MB / 0.8512 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002153/0.7403, allocations: 44.83 kB / 0.8513 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.669e-05/0.7404, allocations: 52.53 kB / 0.8513 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of SimCode: time 2.11e-07/0.7404, allocations: 0 / 0.8513 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.7648, allocations: 7.051 MB / 0.8582 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002198/0.7651, allocations: 262 kB / 0.8585 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.656, allocations: 3.938 kB / 0.8585 GB, free: 14.98 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)