Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008608/0.0008608, allocations: 93.25 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000928/0.0009281, allocations: 172.3 kB / 16.58 MB, free: 5.672 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.363/1.363, allocations: 223.3 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7039/0.7039, allocations: 115.5 MB / 407.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002885/0.0002886, allocations: 8 kB / 495.2 MB, free: 6.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1346, allocations: 77.52 MB / 0.5593 GB, free: 9.375 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.5017/0.6364, allocations: 277.6 MB / 0.8304 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.3527/0.9891, allocations: 47.01 MB / 0.8763 GB, free: 69.44 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009168/0.9983, allocations: 263.2 kB / 0.8766 GB, free: 69.44 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.007681/1.006, allocations: 2.389 MB / 0.8789 GB, free: 69.39 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.02105/1.027, allocations: 7.262 MB / 0.886 GB, free: 69.08 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.01427/1.041, allocations: 4.776 MB / 0.8906 GB, free: 68.96 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.02491/1.066, allocations: 21.08 MB / 0.9112 GB, free: 64.54 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007513/1.074, allocations: 4.288 MB / 0.9154 GB, free: 62.83 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01304/1.087, allocations: 5.898 MB / 0.9212 GB, free: 60.57 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008472/1.095, allocations: 4.6 MB / 0.9257 GB, free: 58.77 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001409/1.097, allocations: 228.4 kB / 0.9259 GB, free: 58.77 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01131/1.108, allocations: 2.645 MB / 0.9285 GB, free: 58.05 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002051/1.11, allocations: 1.058 MB / 0.9295 GB, free: 57.55 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003096/1.113, allocations: 1.38 MB / 0.9308 GB, free: 57.3 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0106/1.124, allocations: 7.439 MB / 0.9381 GB, free: 51.69 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/1.124, allocations: 0 / 0.9381 GB, free: 51.69 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.277e-06/1.124, allocations: 4 kB / 0.9381 GB, free: 51.69 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.000381/1.124, allocations: 0 / 0.9381 GB, free: 51.69 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01028/1.135, allocations: 6.273 MB / 0.9442 GB, free: 45.88 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/1.135, allocations: 8.031 kB / 0.9442 GB, free: 45.87 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002114/1.137, allocations: 0.7764 MB / 0.945 GB, free: 45.09 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008051/1.145, allocations: 5.007 MB / 0.9499 GB, free: 41.54 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/1.145, allocations: 326.7 kB / 0.9502 GB, free: 41.36 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005014/1.146, allocations: 438.6 kB / 0.9506 GB, free: 41.06 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006245/1.152, allocations: 4.348 MB / 0.9549 GB, free: 37.8 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.202e-05/1.152, allocations: 21.98 kB / 0.9549 GB, free: 37.78 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003115/1.152, allocations: 175.1 kB / 0.9551 GB, free: 37.74 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.779e-05/1.152, allocations: 116.3 kB / 0.9552 GB, free: 37.63 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004421/1.157, allocations: 2.947 MB / 0.9581 GB, free: 35.69 MB / 0.6387 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.01964/1.177, allocations: 25.02 MB / 0.9825 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002208/1.179, allocations: 2.759 MB / 0.9852 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/1.18, allocations: 0.9876 MB / 0.9861 GB, free: 7.844 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001848/1.182, allocations: 3.924 MB / 0.99 GB, free: 3.07 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.787e-05/1.182, allocations: 66.16 kB / 0.99 GB, free: 2.996 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=217): time 4.008e-06/1.182, allocations: 0 / 0.99 GB, free: 2.996 MB / 0.6387 GB Notification: Performance of matching and sorting (n=217): time 0.008874/1.191, allocations: 4.071 MB / 0.994 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/1.191, allocations: 77.36 kB / 0.9941 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006068/1.197, allocations: 4.178 MB / 0.9982 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003257/1.197, allocations: 81.7 kB / 0.9983 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.002258/1.199, allocations: 2.791 MB / 1.001 GB, free: 7.719 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007739/1.2, allocations: 0.7705 MB / 1.002 GB, free: 6.957 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/1.2, allocations: 56 kB / 1.002 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001976/1.201, allocations: 411.9 kB / 1.002 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/1.202, allocations: 0.7903 MB / 1.003 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002062/1.204, allocations: 1.797 MB / 1.005 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/1.206, allocations: 1.075 MB / 1.006 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/1.206, allocations: 8 kB / 1.006 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007189/1.213, allocations: 3.496 MB / 1.009 GB, free: 14.83 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004795/1.214, allocations: 0.7337 MB / 1.01 GB, free: 13.79 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.601e-05/1.214, allocations: 23.94 kB / 1.01 GB, free: 13.77 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002462/1.216, allocations: 0.5692 MB / 1.01 GB, free: 13.19 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/1.218, allocations: 0.5538 MB / 1.011 GB, free: 12.64 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/1.22, allocations: 2.697 MB / 1.014 GB, free: 9.836 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004078/1.224, allocations: 0.5975 MB / 1.014 GB, free: 9.238 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002605/1.224, allocations: 136 kB / 1.014 GB, free: 9.105 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/1.224, allocations: 6.734 kB / 1.014 GB, free: 9.102 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004905/1.229, allocations: 2.802 MB / 1.017 GB, free: 6.246 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.518e-05/1.229, allocations: 20 kB / 1.017 GB, free: 6.227 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009629/1.23, allocations: 369.1 kB / 1.017 GB, free: 5.855 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/1.232, allocations: 0.5538 MB / 1.018 GB, free: 5.301 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008071/1.24, allocations: 7.695 MB / 1.026 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00429/1.244, allocations: 0.5561 MB / 1.026 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002831/1.245, allocations: 132 kB / 1.026 GB, free: 12.36 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.002231/1.247, allocations: 1.007 MB / 1.027 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001007/1.248, allocations: 0.5056 MB / 1.028 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00628/1.254, allocations: 3.584 MB / 1.031 GB, free: 7.199 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.761e-05/1.254, allocations: 39.97 kB / 1.031 GB, free: 7.16 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/1.254, allocations: 0 / 1.031 GB, free: 7.16 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003846/1.258, allocations: 2.42 MB / 1.034 GB, free: 4.695 MB / 0.6856 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 postOpt removeSimpleEquations (simulation): time 0.01377/1.272, allocations: 8.214 MB / 1.042 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/1.272, allocations: 6.609 kB / 1.042 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/1.273, allocations: 367.5 kB / 1.042 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007188/1.274, allocations: 294.5 kB / 1.042 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001423/1.274, allocations: 59.97 kB / 1.042 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/1.276, allocations: 2.502 MB / 1.045 GB, free: 8.953 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.276, allocations: 4.062 kB / 1.045 GB, free: 8.949 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007154/1.283, allocations: 4.326 MB / 1.049 GB, free: 4.551 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002645/1.286, allocations: 0.9739 MB / 1.05 GB, free: 3.551 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000787/1.286, allocations: 43.98 kB / 1.05 GB, free: 3.508 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003001/1.289, allocations: 427 kB / 1.05 GB, free: 3.09 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002515/1.29, allocations: 153.8 kB / 1.051 GB, free: 2.938 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002202/1.29, allocations: 111.9 kB / 1.051 GB, free: 2.828 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.004383/1.294, allocations: 2.746 MB / 1.053 GB, free: 112 kB / 0.7012 GB Notification: Performance of sort global known variables: time 3.81e-07/1.294, allocations: 0 / 1.053 GB, free: 112 kB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00955/1.304, allocations: 3.253 MB / 1.056 GB, free: 12.85 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * 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 (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002489/1.306, allocations: 1.426 MB / 1.058 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007197/1.314, allocations: 4.39 MB / 1.062 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/1.314, allocations: 7.938 kB / 1.062 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001988/1.316, allocations: 1.238 MB / 1.063 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01196/1.328, allocations: 2.65 MB / 1.066 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01627/1.344, allocations: 11.06 MB / 1.077 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002519/1.346, allocations: 2.881 MB / 1.08 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.005581/1.352, allocations: 1.161 MB / 1.081 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009951/1.353, allocations: 411.2 kB / 1.081 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of SimCode: time 7.72e-07/1.353, allocations: 2.734 kB / 1.081 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of Templates: time 0.4289/1.782, allocations: 100.1 MB / 1.179 GB, free: 270 MB / 0.7481 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)