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.001194/0.001194, allocations: 97.05 kB / 15.69 MB, free: 488 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.001447/0.001447, allocations: 173 kB / 16.56 MB, free: 6.387 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.332/1.332, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7012/0.7012, allocations: 113.8 MB / 405.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004252/0.0004254, allocations: 9.531 kB / 493 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1679, allocations: 77.16 MB / 0.5568 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.482/0.6499, allocations: 250.9 MB / 0.8019 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.3672/1.017, allocations: 43.09 MB / 0.844 GB, free: 65.08 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01114/1.028, allocations: 249.9 kB / 0.8442 GB, free: 65.08 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0124/1.041, allocations: 2.975 MB / 0.8471 GB, free: 65.08 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.02918/1.07, allocations: 9.235 MB / 0.8561 GB, free: 64.97 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.01704/1.087, allocations: 5.97 MB / 0.862 GB, free: 64.86 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.02264/1.11, allocations: 10.83 MB / 0.8725 GB, free: 64.84 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009855/1.12, allocations: 4.326 MB / 0.8768 GB, free: 64.31 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01448/1.134, allocations: 5.412 MB / 0.8821 GB, free: 64.29 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008265/1.142, allocations: 3.204 MB / 0.8852 GB, free: 64.28 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.00237/1.145, allocations: 229.2 kB / 0.8854 GB, free: 64.28 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0131/1.158, allocations: 2.796 MB / 0.8881 GB, free: 64.27 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0031/1.161, allocations: 1.023 MB / 0.8891 GB, free: 64.27 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.004399/1.165, allocations: 1.377 MB / 0.8905 GB, free: 64.24 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01279/1.178, allocations: 7.315 MB / 0.8976 GB, free: 61.2 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/1.178, allocations: 0 / 0.8976 GB, free: 61.2 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.775e-06/1.178, allocations: 0 / 0.8976 GB, free: 61.2 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0004152/1.179, allocations: 0 / 0.8976 GB, free: 61.2 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.01373/1.192, allocations: 6.242 MB / 0.9037 GB, free: 57.34 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/1.193, allocations: 10.16 kB / 0.9037 GB, free: 57.34 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003016/1.196, allocations: 0.7847 MB / 0.9045 GB, free: 56.96 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0105/1.206, allocations: 4.703 MB / 0.9091 GB, free: 55.07 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002729/1.206, allocations: 318.6 kB / 0.9094 GB, free: 55.05 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008106/1.207, allocations: 428.5 kB / 0.9098 GB, free: 55.05 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007121/1.214, allocations: 4.32 MB / 0.914 GB, free: 53.55 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.392e-05/1.214, allocations: 21.28 kB / 0.914 GB, free: 53.54 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003589/1.215, allocations: 179.8 kB / 0.9142 GB, free: 53.54 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-05/1.215, allocations: 117.8 kB / 0.9143 GB, free: 53.54 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004663/1.22, allocations: 2.937 MB / 0.9172 GB, free: 53.13 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.02338/1.243, allocations: 25.18 MB / 0.9418 GB, free: 32.95 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002432/1.245, allocations: 2.766 MB / 0.9445 GB, free: 30.72 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001937/1.247, allocations: 3.921 MB / 0.9483 GB, free: 26 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.43e-05/1.247, allocations: 61.81 kB / 0.9484 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=217): time 4.599e-06/1.247, allocations: 3.984 kB / 0.9484 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of matching and sorting (n=217): time 0.009364/1.257, allocations: 4.044 MB / 0.9523 GB, free: 22.66 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/1.257, allocations: 73.41 kB / 0.9524 GB, free: 22.58 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005687/1.263, allocations: 4.414 MB / 0.9567 GB, free: 19.43 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0004946/1.263, allocations: 79.27 kB / 0.9568 GB, free: 19.38 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001572/1.265, allocations: 2.798 MB / 0.9595 GB, free: 17.87 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007537/1.265, allocations: 0.7521 MB / 0.9602 GB, free: 17.23 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/1.266, allocations: 57.38 kB / 0.9603 GB, free: 17.21 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001088/1.266, allocations: 414.1 kB / 0.9607 GB, free: 16.85 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/1.267, allocations: 0.7853 MB / 0.9615 GB, free: 16.35 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/1.268, allocations: 1.783 MB / 0.9632 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/1.27, allocations: 1.075 MB / 0.9642 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/1.27, allocations: 8 kB / 0.9643 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.006671/1.276, allocations: 3.504 MB / 0.9677 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.001431/1.278, allocations: 10.31 MB / 0.9777 GB, free: 408 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.264e-05/1.278, allocations: 26.3 kB / 0.9778 GB, free: 384 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002517/1.281, allocations: 0.5614 MB / 0.9783 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002068/1.283, allocations: 0.5626 MB / 0.9789 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002046/1.285, allocations: 2.678 MB / 0.9815 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005296/1.29, allocations: 0.6136 MB / 0.9821 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005546/1.291, allocations: 132.8 kB / 0.9822 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/1.291, allocations: 4 kB / 0.9822 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005099/1.296, allocations: 2.804 MB / 0.985 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.017e-05/1.296, allocations: 20.22 kB / 0.985 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009519/1.297, allocations: 383.1 kB / 0.9853 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/1.298, allocations: 0.5509 MB / 0.9859 GB, free: 9.496 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007992/1.306, allocations: 7.787 MB / 0.9935 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00531/1.312, allocations: 0.5681 MB / 0.994 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004789/1.312, allocations: 132.9 kB / 0.9942 GB, free: 1.625 MB / 0.6544 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.002373/1.315, allocations: 1.014 MB / 0.9952 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00132/1.316, allocations: 0.5017 MB / 0.9956 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005755/1.322, allocations: 3.571 MB / 0.9991 GB, free: 14 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.413e-05/1.322, allocations: 35.41 kB / 0.9992 GB, free: 13.96 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.322, allocations: 0 / 0.9992 GB, free: 13.96 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003434/1.325, allocations: 2.432 MB / 1.002 GB, free: 12.29 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 postOpt removeSimpleEquations (simulation): time 0.01347/1.339, allocations: 8.292 MB / 1.01 GB, free: 6.301 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/1.339, allocations: 4.031 kB / 1.01 GB, free: 6.297 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001326/1.34, allocations: 367.9 kB / 1.01 GB, free: 5.965 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006857/1.341, allocations: 292.2 kB / 1.01 GB, free: 5.73 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/1.341, allocations: 69.41 kB / 1.01 GB, free: 5.695 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001542/1.343, allocations: 2.496 MB / 1.013 GB, free: 3.293 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.343, allocations: 0 / 1.013 GB, free: 3.293 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006796/1.349, allocations: 4.442 MB / 1.017 GB, free: 100 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003027/1.352, allocations: 1.024 MB / 1.018 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001117/1.354, allocations: 45.12 kB / 1.018 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0039/1.357, allocations: 426.6 kB / 1.019 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002582/1.358, allocations: 153 kB / 1.019 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002637/1.358, allocations: 110.5 kB / 1.019 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.005736/1.364, allocations: 2.918 MB / 1.022 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9.12e-07/1.364, allocations: 0 / 1.022 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.01568/1.38, allocations: 3.321 MB / 1.025 GB, free: 9.562 MB / 0.6856 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.003376/1.383, allocations: 1.537 MB / 1.026 GB, free: 8.25 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007477/1.39, allocations: 4.39 MB / 1.031 GB, free: 5.059 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/1.39, allocations: 4 kB / 1.031 GB, free: 5.055 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001986/1.392, allocations: 1.234 MB / 1.032 GB, free: 4.227 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01364/1.406, allocations: 2.605 MB / 1.034 GB, free: 2.082 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0181/1.424, allocations: 11.04 MB / 1.045 GB, free: 7.836 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002378/1.427, allocations: 2.991 MB / 1.048 GB, free: 4.895 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.005284/1.432, allocations: 1.165 MB / 1.049 GB, free: 3.738 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/1.433, allocations: 427.2 kB / 1.05 GB, free: 3.352 MB / 0.7012 GB Notification: Performance of SimCode: time 8.42e-07/1.433, allocations: 0 / 1.05 GB, free: 3.352 MB / 0.7012 GB Notification: Performance of Templates: time 0.474/1.907, allocations: 103.2 MB / 1.151 GB, free: 307 MB / 0.7637 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)