Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 103.6 kB / 16.4 MB, free: 6.434 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.001271/0.001271, allocations: 192.1 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8778/0.8778, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002382/0.002382, allocations: 62.8 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1863, allocations: 80.2 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.004924/0.1913, allocations: 1.644 MB / 0.6619 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5305/0.7218, allocations: 149.7 MB / 0.8081 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.431e-05/0.7219, allocations: 1.25 kB / 0.8081 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001549/0.7221, allocations: 24.22 kB / 0.8081 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.7224, allocations: 53.95 kB / 0.8082 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.7228, allocations: 180.7 kB / 0.8083 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.723, allocations: 156.7 kB / 0.8085 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.7231, allocations: 31.95 kB / 0.8085 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.7242, allocations: 196.5 kB / 0.8087 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.693e-05/0.7244, allocations: 62.66 kB / 0.8088 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.7244, allocations: 11.55 kB / 0.8088 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002827/0.7247, allocations: 160.8 kB / 0.8089 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.104e-05/0.7247, allocations: 25.58 kB / 0.809 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 6.89e-05/0.7248, allocations: 55.55 kB / 0.809 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002869/0.7251, allocations: 193.6 kB / 0.8092 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.7251, allocations: 2.5 kB / 0.8092 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7251, allocations: 0 / 0.8092 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.7251, allocations: 0 / 0.8092 GB, free: 11.54 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007711/0.7259, allocations: 460.8 kB / 0.8096 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.7259, allocations: 10.06 kB / 0.8097 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005954/0.7265, allocations: 52.69 kB / 0.8097 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.7268, allocations: 203 kB / 0.8099 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.7268, allocations: 9.75 kB / 0.8099 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.7268, allocations: 8.688 kB / 0.8099 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004225/0.7273, allocations: 184.9 kB / 0.8101 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.7273, allocations: 4 kB / 0.8101 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.7273, allocations: 5.625 kB / 0.8101 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.7273, allocations: 2.469 kB / 0.8101 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004723/0.7278, allocations: 139.7 kB / 0.8102 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.7288, allocations: 0.8286 MB / 0.811 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003886/0.7292, allocations: 129.8 kB / 0.8112 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.7295, allocations: 91.11 kB / 0.8113 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.7295, allocations: 2.438 kB / 0.8113 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.7296, allocations: 30.56 kB / 0.8113 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.7296, allocations: 0 / 0.8113 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.001882/0.7314, allocations: 459.7 kB / 0.8117 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.7315, allocations: 55.41 kB / 0.8118 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.7316, allocations: 146.3 kB / 0.8119 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.7316, allocations: 33.14 kB / 0.8119 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.272e-05/0.7317, allocations: 108.3 kB / 0.8121 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.7317, allocations: 21.62 kB / 0.8121 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.601e-05/0.7318, allocations: 37.88 kB / 0.8121 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.7319, allocations: 318.7 kB / 0.8124 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.7322, allocations: 73.36 kB / 0.8125 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.7324, allocations: 98.91 kB / 0.8126 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005068/0.7329, allocations: 186.5 kB / 0.8128 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.733, allocations: 4 kB / 0.8128 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001038/0.734, allocations: 281.1 kB / 0.813 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.734, allocations: 5.219 kB / 0.813 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.734, allocations: 6.094 kB / 0.813 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005688/0.7346, allocations: 86.38 kB / 0.8131 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.7349, allocations: 35.61 kB / 0.8132 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001992/0.7369, allocations: 1.653 MB / 0.8148 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.7371, allocations: 26.56 kB / 0.8148 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.7371, allocations: 4.094 kB / 0.8148 GB, free: 7.652 MB / 0.5919 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.0001054/0.7372, allocations: 130.2 kB / 0.8149 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.7373, allocations: 13.7 kB / 0.8149 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.7384, allocations: 311.4 kB / 0.8152 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.7384, allocations: 8.969 kB / 0.8152 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.7384, allocations: 4 kB / 0.8152 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.7384, allocations: 1.344 kB / 0.8152 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.7387, allocations: 227.5 kB / 0.8155 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.7387, allocations: 0 / 0.8155 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.7389, allocations: 34.92 kB / 0.8155 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004322/0.7393, allocations: 73.47 kB / 0.8156 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.7394, allocations: 1.625 kB / 0.8156 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001823/0.7412, allocations: 1.689 MB / 0.8172 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.7412, allocations: 0 / 0.8172 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.7423, allocations: 383.5 kB / 0.8176 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.037e-05/0.7423, allocations: 83.77 kB / 0.8177 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.7423, allocations: 4.562 kB / 0.8177 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.7426, allocations: 19.8 kB / 0.8177 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.685e-05/0.7426, allocations: 17.41 kB / 0.8177 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.7427, allocations: 5.938 kB / 0.8177 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.65e-05/0.7427, allocations: 112.2 kB / 0.8178 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7427, allocations: 0 / 0.8178 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003311/0.7431, allocations: 44.88 kB / 0.8179 GB, free: 5.207 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 (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.000172/0.7433, allocations: 117 kB / 0.818 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008895/0.7442, allocations: 310.7 kB / 0.8183 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.7442, allocations: 0 / 0.8183 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005266/0.7447, allocations: 231.7 kB / 0.8185 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.745, allocations: 29.03 kB / 0.8185 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007837/0.7458, allocations: 327.2 kB / 0.8188 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.7461, allocations: 0.714 MB / 0.8195 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.516e-05/0.7462, allocations: 16.61 kB / 0.8195 GB, free: 3.848 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.7462, allocations: 2.5 kB / 0.8195 GB, free: 3.848 MB / 0.5919 GB Notification: Performance of Templates: time 0.004364/0.7506, allocations: 2.748 MB / 0.8222 GB, free: 2.418 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)