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: translateModel(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 102.9 kB / 16.4 MB, free: 6.406 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.001034/0.001034, allocations: 195.5 kB / 17.34 MB, free: 5.703 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6924/0.6924, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 63.08 kB / 0.5577 GB, free: 32.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1399, allocations: 76.19 MB / 0.6321 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002692/0.1427, allocations: 1.9 MB / 0.6339 GB, free: 2.48 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.5439/0.6866, allocations: 155.4 MB / 0.7857 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.6868, allocations: 9.969 kB / 0.7857 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.6871, allocations: 27.97 kB / 0.7857 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002837/0.6873, allocations: 73.19 kB / 0.7858 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006915/0.6881, allocations: 266 kB / 0.7861 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.6883, allocations: 263.2 kB / 0.7863 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.6885, allocations: 69.03 kB / 0.7864 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001177/0.6897, allocations: 247.9 kB / 0.7866 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.6898, allocations: 93.02 kB / 0.7867 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.881e-05/0.6899, allocations: 15.16 kB / 0.7867 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003165/0.6902, allocations: 181.6 kB / 0.7869 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.082e-05/0.6903, allocations: 43.8 kB / 0.7869 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 8.742e-05/0.6903, allocations: 99.03 kB / 0.787 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003615/0.6907, allocations: 287.3 kB / 0.7873 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6907, allocations: 0 / 0.7873 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6907, allocations: 1.094 kB / 0.7873 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.6908, allocations: 0 / 0.7873 GB, free: 13.55 MB / 0.5919 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.0008651/0.6916, allocations: 0.527 MB / 0.7878 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.6917, allocations: 7.875 kB / 0.7878 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008194/0.6925, allocations: 88.69 kB / 0.7879 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.6927, allocations: 223.9 kB / 0.7881 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.172e-05/0.6928, allocations: 41.06 kB / 0.7882 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.6929, allocations: 16.75 kB / 0.7882 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000469/0.6933, allocations: 262.8 kB / 0.7884 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.6933, allocations: 0 / 0.7884 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/0.6934, allocations: 9.281 kB / 0.7884 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.6934, allocations: 6.406 kB / 0.7884 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004274/0.6938, allocations: 172.9 kB / 0.7886 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.6953, allocations: 1.179 MB / 0.7897 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007196/0.6961, allocations: 209.2 kB / 0.7899 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.6963, allocations: 80.52 kB / 0.79 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.6963, allocations: 2.578 kB / 0.79 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.6963, allocations: 31.59 kB / 0.7901 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.6963, allocations: 1.344 kB / 0.7901 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.002543/0.6989, allocations: 0.6319 MB / 0.7907 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.6989, allocations: 52.78 kB / 0.7907 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.6991, allocations: 220.1 kB / 0.7909 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.6992, allocations: 27.08 kB / 0.791 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.967e-05/0.6993, allocations: 139.8 kB / 0.7911 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.6993, allocations: 41.59 kB / 0.7911 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-05/0.6994, allocations: 49.19 kB / 0.7912 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.6995, allocations: 329.3 kB / 0.7915 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.6997, allocations: 77.55 kB / 0.7916 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.7, allocations: 126.2 kB / 0.7917 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003863/0.7004, allocations: 205.2 kB / 0.7919 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.7004, allocations: 0 / 0.7919 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001394/0.7018, allocations: 377.5 kB / 0.7922 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.7018, allocations: 6.094 kB / 0.7923 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.7018, allocations: 2.938 kB / 0.7923 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.7029, allocations: 159.3 kB / 0.7924 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.7031, allocations: 42.47 kB / 0.7924 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003955/0.7071, allocations: 3.242 MB / 0.7956 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003483/0.7074, allocations: 41.33 kB / 0.7957 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.7075, allocations: 8.375 kB / 0.7957 GB, free: 7.758 MB / 0.5919 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.0001647/0.7076, allocations: 137.9 kB / 0.7958 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/0.7077, allocations: 19.16 kB / 0.7958 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.709, allocations: 372.1 kB / 0.7962 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.709, allocations: 3.656 kB / 0.7962 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.709, allocations: 4 kB / 0.7962 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.709, allocations: 0 / 0.7962 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003415/0.7093, allocations: 282.3 kB / 0.7964 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.7094, allocations: 0 / 0.7964 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.7095, allocations: 26.08 kB / 0.7965 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007665/0.7103, allocations: 142.5 kB / 0.7966 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.7103, allocations: 3.375 kB / 0.7966 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003316/0.7136, allocations: 3.303 MB / 0.7998 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.7136, allocations: 2.906 kB / 0.7998 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.7148, allocations: 428.8 kB / 0.8002 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.372e-05/0.7149, allocations: 111.9 kB / 0.8004 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.715, allocations: 7.5 kB / 0.8004 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000266/0.7152, allocations: 12.58 kB / 0.8004 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.838e-05/0.7153, allocations: 18.34 kB / 0.8004 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.7153, allocations: 9.422 kB / 0.8004 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001641/0.7155, allocations: 165.5 kB / 0.8006 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7155, allocations: 0 / 0.8006 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004198/0.7159, allocations: 72.38 kB / 0.8006 GB, free: 4.137 MB / 0.5919 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.0001992/0.7161, allocations: 118.7 kB / 0.8007 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009996/0.7171, allocations: 442.5 kB / 0.8012 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7172, allocations: 0 / 0.8012 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006472/0.7178, allocations: 359.9 kB / 0.8015 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.7182, allocations: 61.91 kB / 0.8016 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008572/0.7191, allocations: 417.5 kB / 0.802 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.7194, allocations: 0.7337 MB / 0.8027 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001621/0.7196, allocations: 38.03 kB / 0.8027 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.559e-05/0.7196, allocations: 25.59 kB / 0.8027 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.7196, allocations: 0 / 0.8027 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of Templates: time 0.008881/0.7285, allocations: 5.359 MB / 0.808 GB, free: 0.6211 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (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 & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)