Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0009243/0.0009243, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.0009253/0.0009254, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9797/0.9797, allocations: 143.3 MB / 434.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003195, allocations: 12 kB / 0.5158 GB, free: 11.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1438, allocations: 83.4 MB / 0.5973 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.4735/0.6174, allocations: 251 MB / 0.8424 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3857/1.003, allocations: 43.15 MB / 0.8845 GB, free: 60.11 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01133/1.014, allocations: 246.9 kB / 0.8848 GB, free: 60.11 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01151/1.026, allocations: 2.978 MB / 0.8877 GB, free: 60.1 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.03098/1.057, allocations: 9.231 MB / 0.8967 GB, free: 59.98 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01818/1.075, allocations: 5.986 MB / 0.9025 GB, free: 59.86 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.023/1.098, allocations: 10.85 MB / 0.9131 GB, free: 59.84 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008498/1.107, allocations: 4.322 MB / 0.9173 GB, free: 59.31 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01663/1.123, allocations: 5.408 MB / 0.9226 GB, free: 59.3 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009636/1.133, allocations: 3.212 MB / 0.9258 GB, free: 59.28 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002216/1.135, allocations: 228.7 kB / 0.926 GB, free: 59.28 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01434/1.15, allocations: 2.79 MB / 0.9287 GB, free: 59.27 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00265/1.152, allocations: 1.031 MB / 0.9297 GB, free: 59.27 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.004864/1.157, allocations: 1.378 MB / 0.9311 GB, free: 59.24 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01416/1.171, allocations: 7.763 MB / 0.9386 GB, free: 56.57 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/1.171, allocations: 0 / 0.9386 GB, free: 56.57 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.066e-06/1.172, allocations: 0 / 0.9386 GB, free: 56.57 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003575/1.172, allocations: 3.188 kB / 0.9386 GB, free: 56.57 MB / 0.67 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.01254/1.184, allocations: 6.25 MB / 0.9447 GB, free: 52.71 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/1.184, allocations: 9.25 kB / 0.9448 GB, free: 52.71 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003029/1.188, allocations: 0.7851 MB / 0.9455 GB, free: 52.32 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01013/1.198, allocations: 4.735 MB / 0.9501 GB, free: 50.42 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002582/1.198, allocations: 327.6 kB / 0.9505 GB, free: 50.4 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007886/1.199, allocations: 429.2 kB / 0.9509 GB, free: 50.4 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007338/1.206, allocations: 4.323 MB / 0.9551 GB, free: 48.9 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.069e-05/1.206, allocations: 14.38 kB / 0.9551 GB, free: 48.9 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003782/1.207, allocations: 179.4 kB / 0.9553 GB, free: 48.9 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001068/1.207, allocations: 120.3 kB / 0.9554 GB, free: 48.89 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004907/1.212, allocations: 2.939 MB / 0.9583 GB, free: 48.48 MB / 0.67 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.02526/1.237, allocations: 25.23 MB / 0.9829 GB, free: 29.55 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002485/1.239, allocations: 2.753 MB / 0.9856 GB, free: 27.95 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002027/1.242, allocations: 3.907 MB / 0.9894 GB, free: 23.25 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.248e-05/1.242, allocations: 63.66 kB / 0.9895 GB, free: 23.2 MB / 0.67 GB Notification: Performance of pre-optimization done (n=217): time 4.107e-06/1.242, allocations: 0 / 0.9895 GB, free: 23.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=217): time 0.009363/1.251, allocations: 4.072 MB / 0.9934 GB, free: 19.88 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/1.251, allocations: 77.41 kB / 0.9935 GB, free: 19.8 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006105/1.257, allocations: 4.401 MB / 0.9978 GB, free: 16.65 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005328/1.258, allocations: 78.02 kB / 0.9979 GB, free: 16.61 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001724/1.259, allocations: 2.791 MB / 1.001 GB, free: 15.11 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008594/1.26, allocations: 0.7636 MB / 1.001 GB, free: 14.46 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/1.26, allocations: 57.88 kB / 1.001 GB, free: 14.45 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001176/1.261, allocations: 418 kB / 1.002 GB, free: 14.08 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/1.262, allocations: 0.7828 MB / 1.003 GB, free: 13.57 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/1.263, allocations: 1.783 MB / 1.004 GB, free: 11.74 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/1.265, allocations: 1.075 MB / 1.005 GB, free: 11.11 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/1.265, allocations: 4 kB / 1.005 GB, free: 11.11 MB / 0.67 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.006654/1.271, allocations: 3.505 MB / 1.009 GB, free: 8.527 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.001971/1.273, allocations: 10.32 MB / 1.019 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.781e-05/1.273, allocations: 20 kB / 1.019 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002576/1.276, allocations: 0.5829 MB / 1.019 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002083/1.278, allocations: 0.5502 MB / 1.02 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002073/1.28, allocations: 2.689 MB / 1.023 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005325/1.286, allocations: 0.621 MB / 1.023 GB, free: 9.492 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004791/1.286, allocations: 142.8 kB / 1.023 GB, free: 9.375 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/1.286, allocations: 4 kB / 1.023 GB, free: 9.371 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004912/1.291, allocations: 2.798 MB / 1.026 GB, free: 7.539 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-05/1.291, allocations: 20 kB / 1.026 GB, free: 7.52 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000934/1.292, allocations: 377.9 kB / 1.026 GB, free: 7.199 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/1.294, allocations: 0.5508 MB / 1.027 GB, free: 6.703 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008012/1.302, allocations: 7.772 MB / 1.035 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005177/1.307, allocations: 0.5792 MB / 1.035 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003994/1.307, allocations: 131.2 kB / 1.035 GB, free: 14.84 MB / 0.7012 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.002446/1.31, allocations: 1.008 MB / 1.036 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001342/1.311, allocations: 0.5055 MB / 1.037 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005834/1.317, allocations: 3.597 MB / 1.04 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.584e-05/1.317, allocations: 39.22 kB / 1.04 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.317, allocations: 0 / 1.04 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003465/1.321, allocations: 2.437 MB / 1.043 GB, free: 9.457 MB / 0.7012 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.01357/1.334, allocations: 8.318 MB / 1.051 GB, free: 3.461 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/1.334, allocations: 0 / 1.051 GB, free: 3.461 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00131/1.336, allocations: 373 kB / 1.051 GB, free: 3.125 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006859/1.336, allocations: 313.3 kB / 1.051 GB, free: 2.875 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/1.336, allocations: 65.16 kB / 1.052 GB, free: 2.844 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001571/1.338, allocations: 2.489 MB / 1.054 GB, free: 456 kB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.338, allocations: 4 kB / 1.054 GB, free: 452 kB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006943/1.345, allocations: 4.429 MB / 1.058 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003141/1.348, allocations: 1.056 MB / 1.059 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001066/1.349, allocations: 40 kB / 1.059 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003656/1.353, allocations: 436.3 kB / 1.06 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002409/1.353, allocations: 152.4 kB / 1.06 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002256/1.353, allocations: 111.9 kB / 1.06 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.004858/1.358, allocations: 2.926 MB / 1.063 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.81e-07/1.358, allocations: 0 / 1.063 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.01162/1.37, allocations: 3.316 MB / 1.066 GB, free: 4.34 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.002836/1.373, allocations: 1.581 MB / 1.068 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007112/1.38, allocations: 4.394 MB / 1.072 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/1.38, allocations: 0.875 kB / 1.072 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001924/1.382, allocations: 1.233 MB / 1.073 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01317/1.395, allocations: 2.615 MB / 1.076 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/1.412, allocations: 11.03 MB / 1.087 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002534/1.414, allocations: 2.99 MB / 1.089 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.004996/1.419, allocations: 1.182 MB / 1.091 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001017/1.42, allocations: 418.1 kB / 1.091 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of SimCode: time 1.773e-06/1.42, allocations: 0 / 1.091 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of Templates: time 0.4669/1.887, allocations: 104.9 MB / 1.193 GB, free: 288 MB / 0.795 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1) Environment - environmentSimulation: