Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001705/0.001705, allocations: 182.6 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-master/package.mo): time 0.8229/0.8229, allocations: 133.4 MB / 150.1 MB, free: 11.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.461/1.461, allocations: 222.9 MB / 404.7 MB, free: 6.113 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.00112/0.00112, allocations: 115.6 kB / 485.9 MB, free: 7.234 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001001/0.001001, allocations: 47.92 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1696, allocations: 80.44 MB / 0.6421 GB, free: 5.438 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003596/0.1732, allocations: 1.931 MB / 0.644 GB, free: 3.488 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.5095/0.6827, allocations: 153.1 MB / 0.7936 GB, free: 6.16 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002206/0.683, allocations: 0 / 0.7936 GB, free: 6.16 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.6832, allocations: 27.78 kB / 0.7936 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003575/0.6836, allocations: 59.61 kB / 0.7937 GB, free: 6.074 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000781/0.6844, allocations: 224.3 kB / 0.7939 GB, free: 5.855 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003033/0.6847, allocations: 251.2 kB / 0.7941 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.6849, allocations: 69.38 kB / 0.7942 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002287/0.6872, allocations: 218.8 kB / 0.7944 GB, free: 5.359 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.6873, allocations: 83.66 kB / 0.7945 GB, free: 5.277 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.533e-05/0.6874, allocations: 11.94 kB / 0.7945 GB, free: 5.266 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004747/0.6879, allocations: 183.7 kB / 0.7946 GB, free: 5.086 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.934e-05/0.688, allocations: 43.83 kB / 0.7947 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.6881, allocations: 79.58 kB / 0.7948 GB, free: 4.965 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004668/0.6885, allocations: 275.2 kB / 0.795 GB, free: 4.695 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.6886, allocations: 0 / 0.795 GB, free: 4.695 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6886, allocations: 0 / 0.795 GB, free: 4.695 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.6886, allocations: 4 kB / 0.795 GB, free: 4.691 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.001118/0.6897, allocations: 0.5075 MB / 0.7955 GB, free: 4.137 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.6898, allocations: 11.97 kB / 0.7955 GB, free: 4.125 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.6908, allocations: 87.62 kB / 0.7956 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004454/0.6913, allocations: 221 kB / 0.7958 GB, free: 3.785 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.6914, allocations: 42.03 kB / 0.7959 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.32e-05/0.6915, allocations: 15.94 kB / 0.7959 GB, free: 3.723 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007668/0.6923, allocations: 262.6 kB / 0.7961 GB, free: 3.438 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.6923, allocations: 0 / 0.7961 GB, free: 3.438 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.89e-05/0.6923, allocations: 8 kB / 0.7961 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.6924, allocations: 7.984 kB / 0.7962 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005696/0.6929, allocations: 171.8 kB / 0.7963 GB, free: 3.254 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.6946, allocations: 1.173 MB / 0.7975 GB, free: 2.004 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007693/0.6954, allocations: 206.6 kB / 0.7977 GB, free: 1.793 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.6956, allocations: 72.83 kB / 0.7977 GB, free: 1.719 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.6957, allocations: 4 kB / 0.7977 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.6957, allocations: 34.55 kB / 0.7978 GB, free: 1.672 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 4.759e-06/0.6958, allocations: 0 / 0.7978 GB, free: 1.672 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12): time 0.002757/0.6985, allocations: 0.6219 MB / 0.7984 GB, free: 1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.6986, allocations: 55.41 kB / 0.7984 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.6989, allocations: 206.2 kB / 0.7986 GB, free: 0.7227 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.6989, allocations: 29.7 kB / 0.7987 GB, free: 0.6875 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.456e-05/0.699, allocations: 135.6 kB / 0.7988 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.699, allocations: 39.36 kB / 0.7988 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.306e-05/0.6991, allocations: 45.69 kB / 0.7989 GB, free: 472 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.6993, allocations: 330.8 kB / 0.7992 GB, free: 132 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002482/0.6995, allocations: 71.94 kB / 0.7992 GB, free: 60 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.6998, allocations: 131.7 kB / 0.7994 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004186/0.7002, allocations: 200.6 kB / 0.7996 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.7002, allocations: 4 kB / 0.7996 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001546/0.7018, allocations: 380.5 kB / 0.7999 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.7018, allocations: 8.922 kB / 0.7999 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.7019, allocations: 7.938 kB / 0.7999 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.7029, allocations: 157.5 kB / 0.8001 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.7032, allocations: 43.89 kB / 0.8001 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003931/0.7072, allocations: 3.024 MB / 0.8031 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000379/0.7076, allocations: 35.77 kB / 0.8031 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.7076, allocations: 16.05 kB / 0.8031 GB, free: 11.73 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.0002035/0.7079, allocations: 129.7 kB / 0.8033 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.387e-05/0.7079, allocations: 11.91 kB / 0.8033 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/0.7093, allocations: 377.3 kB / 0.8036 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.7093, allocations: 0 / 0.8036 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.7093, allocations: 192 / 0.8036 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.7093, allocations: 0 / 0.8036 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.7096, allocations: 273.4 kB / 0.8039 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.7097, allocations: 4 kB / 0.8039 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.7098, allocations: 31.91 kB / 0.8039 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009403/0.7107, allocations: 153.5 kB / 0.8041 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.7108, allocations: 7.984 kB / 0.8041 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003416/0.7142, allocations: 3.08 MB / 0.8071 GB, free: 7.328 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7142, allocations: 0 / 0.8071 GB, free: 7.328 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.7159, allocations: 1.078 MB / 0.8081 GB, free: 6.188 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.716, allocations: 100.9 kB / 0.8082 GB, free: 6.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.7161, allocations: 0 / 0.8082 GB, free: 6.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002776/0.7164, allocations: 15.98 kB / 0.8083 GB, free: 6.055 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.912e-05/0.7165, allocations: 23.91 kB / 0.8083 GB, free: 6.031 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.7165, allocations: 4 kB / 0.8083 GB, free: 6.027 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000183/0.7167, allocations: 167.3 kB / 0.8084 GB, free: 5.863 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7167, allocations: 3.938 kB / 0.8084 GB, free: 5.859 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005312/0.7172, allocations: 67.94 kB / 0.8085 GB, free: 5.793 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.0002141/0.7174, allocations: 119.2 kB / 0.8086 GB, free: 5.668 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.7185, allocations: 439.3 kB / 0.809 GB, free: 5.215 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.7185, allocations: 0 / 0.809 GB, free: 5.215 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006668/0.7192, allocations: 353.2 kB / 0.8094 GB, free: 4.844 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.7196, allocations: 55.89 kB / 0.8094 GB, free: 4.789 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000981/0.7206, allocations: 0.6171 MB / 0.81 GB, free: 4.141 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.721, allocations: 0.7363 MB / 0.8108 GB, free: 3.379 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002065/0.7212, allocations: 37.92 kB / 0.8108 GB, free: 3.34 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.842e-05/0.7212, allocations: 19.42 kB / 0.8108 GB, free: 3.32 MB / 0.5417 GB Notification: Performance of SimCode: time 2.8e-07/0.7213, allocations: 4 kB / 0.8108 GB, free: 3.316 MB / 0.5417 GB Notification: Performance of Templates: time 0.009038/0.7303, allocations: 5.121 MB / 0.8158 GB, free: 14.25 MB / 0.5573 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)