Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7322/0.7322, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 403.4 MB, free: 7.039 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009546/0.0009543, allocations: 111.6 kB / 484.4 MB, free: 8.664 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009788/0.0009788, allocations: 51.92 kB / 0.5618 GB, free: 71.03 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1504, allocations: 80.2 MB / 0.6402 GB, free: 6.758 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.005137/0.1556, allocations: 1.939 MB / 0.6421 GB, free: 4.801 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.5298/0.6854, allocations: 153.1 MB / 0.7916 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002681/0.6858, allocations: 0 / 0.7916 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002255/0.6861, allocations: 23.84 kB / 0.7916 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003962/0.6865, allocations: 55.56 kB / 0.7917 GB, free: 8.039 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007856/0.6873, allocations: 227.4 kB / 0.7919 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004049/0.6877, allocations: 243.3 kB / 0.7921 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000205/0.6879, allocations: 68.52 kB / 0.7922 GB, free: 7.516 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002359/0.6903, allocations: 224.5 kB / 0.7924 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.6904, allocations: 79.67 kB / 0.7925 GB, free: 7.242 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.6905, allocations: 11.98 kB / 0.7925 GB, free: 7.23 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003837/0.6909, allocations: 183.7 kB / 0.7927 GB, free: 7.051 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.155e-05/0.691, allocations: 43.81 kB / 0.7927 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.6911, allocations: 79.59 kB / 0.7928 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004121/0.6915, allocations: 267.2 kB / 0.793 GB, free: 6.668 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.6915, allocations: 0 / 0.793 GB, free: 6.668 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.92e-07/0.6915, allocations: 4 kB / 0.7931 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.6915, allocations: 0 / 0.7931 GB, free: 6.664 MB / 0.5261 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.001028/0.6925, allocations: 0.5152 MB / 0.7936 GB, free: 6.102 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.6926, allocations: 8.031 kB / 0.7936 GB, free: 6.094 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008793/0.6935, allocations: 87.62 kB / 0.7936 GB, free: 6.008 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.6938, allocations: 218.8 kB / 0.7939 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-05/0.6939, allocations: 38.03 kB / 0.7939 GB, free: 5.711 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.305e-05/0.694, allocations: 23.92 kB / 0.7939 GB, free: 5.688 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006036/0.6946, allocations: 263.9 kB / 0.7942 GB, free: 5.402 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.6946, allocations: 0 / 0.7942 GB, free: 5.402 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/0.6946, allocations: 11.98 kB / 0.7942 GB, free: 5.391 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.6946, allocations: 7.938 kB / 0.7942 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004674/0.6951, allocations: 167.8 kB / 0.7943 GB, free: 5.219 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.6968, allocations: 1.18 MB / 0.7955 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007608/0.6976, allocations: 202.7 kB / 0.7957 GB, free: 3.754 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.6978, allocations: 64.83 kB / 0.7958 GB, free: 3.688 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.6978, allocations: 4 kB / 0.7958 GB, free: 3.684 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.6979, allocations: 46.42 kB / 0.7958 GB, free: 3.629 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.6979, allocations: 0 / 0.7958 GB, free: 3.629 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12): time 0.002752/0.7006, allocations: 0.6204 MB / 0.7964 GB, free: 2.961 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.7007, allocations: 59.41 kB / 0.7965 GB, free: 2.891 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.701, allocations: 198.3 kB / 0.7967 GB, free: 2.688 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.701, allocations: 25.7 kB / 0.7967 GB, free: 2.656 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.675e-05/0.7011, allocations: 143.6 kB / 0.7968 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.7012, allocations: 39.36 kB / 0.7969 GB, free: 2.473 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.302e-05/0.7013, allocations: 45.69 kB / 0.7969 GB, free: 2.422 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.56e-05/0.7014, allocations: 334.8 kB / 0.7972 GB, free: 2.086 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.7016, allocations: 67.94 kB / 0.7973 GB, free: 2.02 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.7018, allocations: 131.7 kB / 0.7974 GB, free: 1.863 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004252/0.7023, allocations: 200.3 kB / 0.7976 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.7023, allocations: 4.688 kB / 0.7976 GB, free: 1.641 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001438/0.7037, allocations: 375.4 kB / 0.798 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.7038, allocations: 5.719 kB / 0.798 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.515e-06/0.7038, allocations: 4 kB / 0.798 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.7049, allocations: 161.7 kB / 0.7981 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.7051, allocations: 39.95 kB / 0.7982 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003816/0.7089, allocations: 3.031 MB / 0.8011 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003806/0.7093, allocations: 35.8 kB / 0.8012 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.7094, allocations: 15.98 kB / 0.8012 GB, free: 13.69 MB / 0.5417 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.000162/0.7096, allocations: 129.7 kB / 0.8013 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.185e-05/0.7096, allocations: 11.91 kB / 0.8013 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/0.711, allocations: 376.4 kB / 0.8017 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.7111, allocations: 3.984 kB / 0.8017 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.7111, allocations: 4 kB / 0.8017 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.7111, allocations: 0 / 0.8017 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003565/0.7114, allocations: 269.4 kB / 0.8019 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.7115, allocations: 0 / 0.8019 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.7116, allocations: 23.97 kB / 0.802 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000982/0.7126, allocations: 165.5 kB / 0.8021 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.7126, allocations: 3.984 kB / 0.8021 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003543/0.7162, allocations: 3.076 MB / 0.8051 GB, free: 9.297 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7162, allocations: 0 / 0.8051 GB, free: 9.297 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.7179, allocations: 1.086 MB / 0.8062 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.718, allocations: 100.9 kB / 0.8063 GB, free: 8.031 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.7181, allocations: 4 kB / 0.8063 GB, free: 8.027 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000315/0.7184, allocations: 15.98 kB / 0.8063 GB, free: 8.012 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.659e-05/0.7185, allocations: 19.97 kB / 0.8063 GB, free: 7.992 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.7185, allocations: 11.94 kB / 0.8063 GB, free: 7.98 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001871/0.7187, allocations: 159.6 kB / 0.8065 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7187, allocations: 0 / 0.8065 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005299/0.7193, allocations: 67.94 kB / 0.8065 GB, free: 7.758 MB / 0.5417 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.0002009/0.7195, allocations: 115.2 kB / 0.8066 GB, free: 7.637 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001077/0.7206, allocations: 441.5 kB / 0.8071 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.7206, allocations: 0 / 0.8071 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006933/0.7213, allocations: 355 kB / 0.8074 GB, free: 6.809 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.7217, allocations: 59.83 kB / 0.8075 GB, free: 6.75 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.7228, allocations: 0.6122 MB / 0.8081 GB, free: 6.105 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.7231, allocations: 0.7363 MB / 0.8088 GB, free: 5.34 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002147/0.7233, allocations: 36.72 kB / 0.8088 GB, free: 5.309 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.76e-05/0.7234, allocations: 19.42 kB / 0.8088 GB, free: 5.289 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.7234, allocations: 0 / 0.8088 GB, free: 5.289 MB / 0.5417 GB Notification: Performance of Templates: time 0.00934/0.7327, allocations: 5.131 MB / 0.8138 GB, free: 220 kB / 0.5417 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)