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.001348/0.001348, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 196 kB / 16.53 MB, free: 6.664 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.401/1.401, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002118/0.002118, allocations: 282.7 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9839/0.9839, allocations: 169.3 MB / 0.4982 GB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 103.3 kB / 0.5953 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1703, allocations: 86.97 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003583/0.1739, allocations: 1.666 MB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.604/0.778, allocations: 149.7 MB / 0.8281 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.7782, allocations: 0.9688 kB / 0.8281 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002107/0.7785, allocations: 28.41 kB / 0.8281 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003496/0.7788, allocations: 53.5 kB / 0.8282 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007298/0.7796, allocations: 185.4 kB / 0.8283 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002734/0.7799, allocations: 161.5 kB / 0.8285 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.78, allocations: 37.67 kB / 0.8285 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00128/0.7813, allocations: 179.3 kB / 0.8287 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.7815, allocations: 64.25 kB / 0.8288 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.421e-05/0.7815, allocations: 9.031 kB / 0.8288 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003713/0.7819, allocations: 161 kB / 0.8289 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.492e-05/0.782, allocations: 24.41 kB / 0.829 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.568e-05/0.782, allocations: 55.52 kB / 0.829 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004099/0.7825, allocations: 208 kB / 0.8292 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.7825, allocations: 2.25 kB / 0.8292 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7825, allocations: 0 / 0.8292 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.7825, allocations: 1.219 kB / 0.8292 GB, free: 0.9492 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.0009625/0.7835, allocations: 462.9 kB / 0.8297 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.7835, allocations: 9.562 kB / 0.8297 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.928e-05/0.7836, allocations: 44.08 kB / 0.8297 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006398/0.7842, allocations: 54.72 kB / 0.8298 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.7845, allocations: 204.2 kB / 0.83 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.7845, allocations: 10.59 kB / 0.83 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.43e-05/0.7845, allocations: 9.344 kB / 0.83 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004466/0.785, allocations: 182.6 kB / 0.8301 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.785, allocations: 0 / 0.8301 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.785, allocations: 7.031 kB / 0.8302 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.785, allocations: 2.562 kB / 0.8302 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004926/0.7855, allocations: 146.4 kB / 0.8303 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.7866, allocations: 0.8254 MB / 0.8311 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003832/0.787, allocations: 128.5 kB / 0.8312 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.7873, allocations: 83.5 kB / 0.8313 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.7873, allocations: 4.562 kB / 0.8313 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.7873, allocations: 33.7 kB / 0.8313 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.7873, allocations: 0 / 0.8313 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.001885/0.7892, allocations: 461.2 kB / 0.8318 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.7893, allocations: 58.53 kB / 0.8318 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.7894, allocations: 152.5 kB / 0.832 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.7894, allocations: 29.33 kB / 0.832 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.989e-05/0.7895, allocations: 106.5 kB / 0.8321 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.7895, allocations: 28.84 kB / 0.8321 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.521e-05/0.7896, allocations: 32.58 kB / 0.8322 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.7897, allocations: 318.8 kB / 0.8325 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.79, allocations: 74.52 kB / 0.8325 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.7902, allocations: 100.9 kB / 0.8326 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004936/0.7907, allocations: 184.7 kB / 0.8328 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7908, allocations: 4 kB / 0.8328 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001026/0.7918, allocations: 279 kB / 0.8331 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.7918, allocations: 9.219 kB / 0.8331 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.7918, allocations: 2.031 kB / 0.8331 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005836/0.7924, allocations: 84.78 kB / 0.8332 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.7927, allocations: 33.39 kB / 0.8332 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002008/0.7947, allocations: 1.669 MB / 0.8348 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.7949, allocations: 27.23 kB / 0.8349 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.7949, allocations: 5.938 kB / 0.8349 GB, free: 13.05 MB / 0.5762 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.0001161/0.7951, allocations: 124.3 kB / 0.835 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.7951, allocations: 10.95 kB / 0.835 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.7962, allocations: 312.6 kB / 0.8353 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.7962, allocations: 3.516 kB / 0.8353 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.7962, allocations: 0 / 0.8353 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.7962, allocations: 1.344 kB / 0.8353 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.7965, allocations: 254.8 kB / 0.8355 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.7965, allocations: 0 / 0.8355 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.7967, allocations: 31.52 kB / 0.8356 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004364/0.7972, allocations: 74.44 kB / 0.8356 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.7972, allocations: 9.375 kB / 0.8357 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001931/0.7991, allocations: 1.684 MB / 0.8373 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.7992, allocations: 0 / 0.8373 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.8003, allocations: 384.3 kB / 0.8377 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.8004, allocations: 101.9 kB / 0.8378 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.8004, allocations: 10.09 kB / 0.8378 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.8007, allocations: 23.66 kB / 0.8378 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.733e-05/0.8008, allocations: 9.953 kB / 0.8378 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.8008, allocations: 8.828 kB / 0.8378 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.388e-05/0.8009, allocations: 117.7 kB / 0.8379 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8009, allocations: 0 / 0.8379 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003714/0.8013, allocations: 44 kB / 0.838 GB, free: 10.89 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 (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.001447/0.8027, allocations: 0.9241 MB / 0.8389 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009028/0.8036, allocations: 307.3 kB / 0.8392 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.8037, allocations: 0 / 0.8392 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000547/0.8042, allocations: 237.2 kB / 0.8394 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.8046, allocations: 28.17 kB / 0.8394 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004082/0.8087, allocations: 2.059 MB / 0.8414 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.8089, allocations: 0.7144 MB / 0.8421 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001765/0.8091, allocations: 27.53 kB / 0.8421 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.075e-05/0.8092, allocations: 37.28 kB / 0.8422 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of SimCode: time 6.11e-07/0.8092, allocations: 0 / 0.8422 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0258/0.835, allocations: 4.687 MB / 0.8468 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.63, allocations: 6.5 kB / 0.8468 GB, free: 5.793 MB / 0.5762 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)