Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.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.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 115.4 kB / 17.08 MB, free: 5.98 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.002262/0.002262, allocations: 191 kB / 18.02 MB, free: 5.066 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.453/1.453, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.837/0.837, allocations: 126.4 MB / 418.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 71.97 kB / 0.5742 GB, free: 27.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1303, allocations: 78.77 MB / 0.6512 GB, free: 3.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.05836/0.1887, allocations: 53.78 MB / 0.7037 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02622/0.2149, allocations: 17.01 MB / 0.7203 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002561/0.2175, allocations: 91.5 kB / 0.7204 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005089/0.2226, allocations: 1.936 MB / 0.7223 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006465/0.2291, allocations: 2.609 MB / 0.7248 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005536/0.2346, allocations: 2.356 MB / 0.7271 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01112/0.2458, allocations: 7.551 MB / 0.7345 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002453/0.2482, allocations: 1.67 MB / 0.7361 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004297/0.2526, allocations: 2.033 MB / 0.7381 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002013/0.2546, allocations: 1.4 MB / 0.7395 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003078/0.2549, allocations: 176 kB / 0.7396 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003764/0.2587, allocations: 2.02 MB / 0.7416 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006708/0.2594, allocations: 0.6579 MB / 0.7423 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001288/0.2607, allocations: 1.224 MB / 0.7435 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005218/0.2659, allocations: 3.946 MB / 0.7473 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2659, allocations: 8 kB / 0.7473 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2659, allocations: 0 / 0.7473 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.902e-05/0.2659, allocations: 0 / 0.7473 GB, free: 0.7344 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.2884/0.5544, allocations: 3.033 MB / 0.7503 GB, free: 92.83 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.5545, allocations: 10.44 kB / 0.7503 GB, free: 92.83 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002877/0.5573, allocations: 0.5632 MB / 0.7508 GB, free: 92.69 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004998/0.5624, allocations: 2.758 MB / 0.7535 GB, free: 91.54 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.333e-05/0.5625, allocations: 88.3 kB / 0.7536 GB, free: 91.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002119/0.5627, allocations: 125.8 kB / 0.7537 GB, free: 91.46 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002881/0.5656, allocations: 1.358 MB / 0.7551 GB, free: 90.81 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.257e-05/0.5656, allocations: 10 kB / 0.7551 GB, free: 90.81 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.5657, allocations: 49.72 kB / 0.7551 GB, free: 90.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.88e-05/0.5658, allocations: 43.73 kB / 0.7552 GB, free: 90.77 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003025/0.5688, allocations: 1.1 MB / 0.7562 GB, free: 90.41 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01015/0.579, allocations: 7.568 MB / 0.7636 GB, free: 84.76 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002345/0.5813, allocations: 1.335 MB / 0.7649 GB, free: 83.89 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009933/0.5824, allocations: 428.4 kB / 0.7653 GB, free: 83.74 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005442/0.5878, allocations: 3.17 MB / 0.7684 GB, free: 81.28 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009971/0.5888, allocations: 431.1 kB / 0.7688 GB, free: 81.13 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=59): time 2.675e-06/0.5888, allocations: 1 kB / 0.7688 GB, free: 81.13 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59): time 0.003324/0.5922, allocations: 1.257 MB / 0.7701 GB, free: 80.61 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.5922, allocations: 62.09 kB / 0.7701 GB, free: 80.54 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002979/0.5952, allocations: 2.135 MB / 0.7722 GB, free: 79.39 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.209e-05/0.5953, allocations: 41.83 kB / 0.7723 GB, free: 79.35 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006609/0.596, allocations: 1.034 MB / 0.7733 GB, free: 78.45 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.5961, allocations: 223.6 kB / 0.7735 GB, free: 78.26 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003874/0.5965, allocations: 310.5 kB / 0.7738 GB, free: 78.08 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.813e-05/0.5966, allocations: 302.2 kB / 0.7741 GB, free: 77.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.5977, allocations: 0.5521 MB / 0.7746 GB, free: 77.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.5989, allocations: 0.9946 MB / 0.7756 GB, free: 76.69 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002139/0.6011, allocations: 1.448 MB / 0.777 GB, free: 75.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.6011, allocations: 3.469 kB / 0.777 GB, free: 75.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003393/0.6045, allocations: 1.775 MB / 0.7787 GB, free: 74.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.6046, allocations: 42.97 kB / 0.7788 GB, free: 74.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.6046, allocations: 14.5 kB / 0.7788 GB, free: 74.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.414e-05/0.6046, allocations: 24.12 kB / 0.7788 GB, free: 74.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.6057, allocations: 311 kB / 0.7791 GB, free: 74.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-05/0.6058, allocations: 27.05 kB / 0.7791 GB, free: 74.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/0.6073, allocations: 188.6 kB / 0.7793 GB, free: 74.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.6074, allocations: 59.64 kB / 0.7794 GB, free: 74.52 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001697/0.6091, allocations: 0.9715 MB / 0.7803 GB, free: 73.96 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001247/0.6104, allocations: 0.9906 MB / 0.7813 GB, free: 73.13 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002008/0.6124, allocations: 1.454 MB / 0.7827 GB, free: 72.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.464e-06/0.6124, allocations: 3.969 kB / 0.7827 GB, free: 72.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.002968/0.6154, allocations: 1.769 MB / 0.7844 GB, free: 71.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.6154, allocations: 37.61 kB / 0.7845 GB, free: 71.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.6155, allocations: 11.91 kB / 0.7845 GB, free: 71.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.6155, allocations: 19.83 kB / 0.7845 GB, free: 71.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.6165, allocations: 315.8 kB / 0.7848 GB, free: 71.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/0.6165, allocations: 25.64 kB / 0.7848 GB, free: 71.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.6179, allocations: 157.9 kB / 0.785 GB, free: 70.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.681e-05/0.618, allocations: 59.08 kB / 0.785 GB, free: 70.98 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 151 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002822/0.6183, allocations: 259.4 kB / 0.7853 GB, free: 70.74 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/0.6186, allocations: 213.4 kB / 0.7855 GB, free: 70.62 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002405/0.621, allocations: 1.129 MB / 0.7866 GB, free: 70 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.621, allocations: 10.14 kB / 0.7866 GB, free: 70 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.621, allocations: 3.938 kB / 0.7866 GB, free: 70 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001708/0.6227, allocations: 0.9549 MB / 0.7875 GB, free: 69.39 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004349/0.6271, allocations: 2.628 MB / 0.7901 GB, free: 66.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.6271, allocations: 4.062 kB / 0.7901 GB, free: 66.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006995/0.6278, allocations: 139.8 kB / 0.7902 GB, free: 66.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001543/0.628, allocations: 28.84 kB / 0.7903 GB, free: 66.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-05/0.628, allocations: 23.97 kB / 0.7903 GB, free: 66.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007086/0.6288, allocations: 1.426 MB / 0.7917 GB, free: 65.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.6288, allocations: 0 / 0.7917 GB, free: 65.11 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002887/0.6317, allocations: 1.576 MB / 0.7932 GB, free: 63.51 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005822/0.6323, allocations: 415.2 kB / 0.7936 GB, free: 63.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/0.6325, allocations: 19.19 kB / 0.7936 GB, free: 63.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009152/0.6334, allocations: 67.92 kB / 0.7937 GB, free: 63 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.6336, allocations: 52.44 kB / 0.7937 GB, free: 62.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.329e-05/0.6336, allocations: 35.97 kB / 0.7938 GB, free: 62.91 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001691/0.6353, allocations: 1.473 MB / 0.7952 GB, free: 61.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6353, allocations: 0 / 0.7952 GB, free: 61.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002297/0.6376, allocations: 1.041 MB / 0.7962 GB, free: 60.39 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002162/0.6398, allocations: 0.8828 MB / 0.7971 GB, free: 59.72 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0036/0.6434, allocations: 2.089 MB / 0.7991 GB, free: 57.61 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6434, allocations: 0.625 kB / 0.7991 GB, free: 57.61 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.6445, allocations: 0.5409 MB / 0.7997 GB, free: 57.05 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003605/0.6481, allocations: 0.9572 MB / 0.8006 GB, free: 56.13 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004831/0.6529, allocations: 3.686 MB / 0.8042 GB, free: 52.41 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007205/0.6537, allocations: 1.535 MB / 0.8057 GB, free: 50.84 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001558/0.6552, allocations: 0.528 MB / 0.8062 GB, free: 50.31 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003721/0.6556, allocations: 167.4 kB / 0.8064 GB, free: 50.15 MB / 0.5762 GB Notification: Performance of SimCode: time 5.71e-07/0.6556, allocations: 4 kB / 0.8064 GB, free: 50.14 MB / 0.5762 GB Notification: Performance of Templates: time 0.05101/0.7066, allocations: 39.68 MB / 0.8451 GB, free: 10.96 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)