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: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009919/0.0009919, allocations: 98.81 kB / 16.02 MB, free: 80 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.0009518/0.0009519, allocations: 181.3 kB / 16.92 MB, free: 6.898 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: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6938/0.6938, allocations: 115.5 MB / 407.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000307/0.0003071, allocations: 8.656 kB / 495.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1294, allocations: 77.54 MB / 0.56 GB, free: 8.926 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.829/0.9584, allocations: 294 MB / 0.8472 GB, free: 49.08 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.05811/1.017, allocations: 49.7 MB / 0.8957 GB, free: 48.31 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01054/1.027, allocations: 264.8 kB / 0.896 GB, free: 48.31 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00888/1.036, allocations: 2.775 MB / 0.8987 GB, free: 48.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.02295/1.059, allocations: 8.421 MB / 0.9069 GB, free: 47.88 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.01853/1.078, allocations: 6.015 MB / 0.9128 GB, free: 47.26 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.02542/1.103, allocations: 24.58 MB / 0.9368 GB, free: 35.88 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008626/1.112, allocations: 4.713 MB / 0.9414 GB, free: 33.13 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01323/1.125, allocations: 6.19 MB / 0.9474 GB, free: 29.2 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008655/1.134, allocations: 4.897 MB / 0.9522 GB, free: 24.73 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002283/1.136, allocations: 235.8 kB / 0.9524 GB, free: 24.5 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0114/1.147, allocations: 3.899 MB / 0.9562 GB, free: 20.88 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00214/1.15, allocations: 1.131 MB / 0.9574 GB, free: 19.79 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.006082/1.156, allocations: 3.323 MB / 0.9606 GB, free: 16.48 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01756/1.173, allocations: 9.919 MB / 0.9703 GB, free: 7.004 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.173, allocations: 4 kB / 0.9703 GB, free: 7 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.405e-06/1.173, allocations: 0 / 0.9703 GB, free: 7 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003045/1.174, allocations: 0 / 0.9703 GB, free: 7 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.009284/1.183, allocations: 6.197 MB / 0.9763 GB, free: 0.7539 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/1.183, allocations: 12.03 kB / 0.9764 GB, free: 0.7422 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009372/1.184, allocations: 0.5357 MB / 0.9769 GB, free: 204 kB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002216/1.186, allocations: 0.7863 MB / 0.9776 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009664/1.196, allocations: 5.21 MB / 0.9827 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002607/1.196, allocations: 328 kB / 0.983 GB, free: 9.969 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007106/1.197, allocations: 438.5 kB / 0.9835 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007469/1.204, allocations: 4.38 MB / 0.9877 GB, free: 4.883 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.414e-05/1.204, allocations: 11.94 kB / 0.9878 GB, free: 4.871 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003715/1.205, allocations: 178.7 kB / 0.9879 GB, free: 4.699 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001182/1.205, allocations: 123.9 kB / 0.988 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005264/1.21, allocations: 2.968 MB / 0.9909 GB, free: 1.605 MB / 0.6544 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.02893/1.239, allocations: 25.05 MB / 1.015 GB, free: 6.711 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003133/1.242, allocations: 2.772 MB / 1.018 GB, free: 3.738 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001553/1.244, allocations: 0.9971 MB / 1.019 GB, free: 2.742 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003146/1.247, allocations: 3.924 MB / 1.023 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.47e-05/1.247, allocations: 64.56 kB / 1.023 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=217): time 4.258e-06/1.247, allocations: 0 / 1.023 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of matching and sorting (n=217): time 0.01107/1.258, allocations: 4.116 MB / 1.027 GB, free: 9.695 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/1.258, allocations: 77.41 kB / 1.027 GB, free: 9.605 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006483/1.265, allocations: 4.225 MB / 1.031 GB, free: 5.402 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000426/1.265, allocations: 81.7 kB / 1.031 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.002434/1.268, allocations: 2.8 MB / 1.034 GB, free: 2.508 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001099/1.269, allocations: 0.7555 MB / 1.035 GB, free: 1.758 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003086/1.269, allocations: 235.6 kB / 1.035 GB, free: 1.523 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.269, allocations: 305.1 kB / 1.035 GB, free: 1.223 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/1.271, allocations: 0.8177 MB / 1.036 GB, free: 412 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002253/1.273, allocations: 1.827 MB / 1.038 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003603/1.277, allocations: 2.517 MB / 1.04 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.337e-05/1.277, allocations: 4 kB / 1.04 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007856/1.284, allocations: 3.579 MB / 1.044 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005096/1.285, allocations: 0.7394 MB / 1.045 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/1.285, allocations: 20 kB / 1.045 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002689/1.288, allocations: 0.5933 MB / 1.045 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001978/1.29, allocations: 0.5577 MB / 1.046 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/1.292, allocations: 2.689 MB / 1.048 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004886/1.297, allocations: 0.598 MB / 1.049 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003332/1.297, allocations: 136 kB / 1.049 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/1.297, allocations: 4 kB / 1.049 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00531/1.302, allocations: 2.826 MB / 1.052 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-05/1.303, allocations: 24 kB / 1.052 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009791/1.304, allocations: 366.5 kB / 1.052 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/1.305, allocations: 0.5577 MB / 1.053 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008929/1.314, allocations: 7.726 MB / 1.06 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005341/1.32, allocations: 0.5483 MB / 1.061 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004149/1.32, allocations: 132 kB / 1.061 GB, free: 5.113 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,12), (1,9), (1,12), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.004191/1.324, allocations: 1.012 MB / 1.062 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002324/1.327, allocations: 0.5018 MB / 1.062 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007731/1.334, allocations: 3.58 MB / 1.066 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.439e-05/1.334, allocations: 39.97 kB / 1.066 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/1.334, allocations: 0 / 1.066 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004223/1.339, allocations: 2.447 MB / 1.068 GB, free: 13.41 MB / 0.7481 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.01749/1.356, allocations: 8.224 MB / 1.076 GB, free: 4.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.715e-05/1.356, allocations: 8.094 kB / 1.076 GB, free: 4.973 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001502/1.358, allocations: 363.5 kB / 1.077 GB, free: 4.617 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007889/1.359, allocations: 309.1 kB / 1.077 GB, free: 4.312 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001748/1.359, allocations: 63.97 kB / 1.077 GB, free: 4.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002141/1.361, allocations: 2.497 MB / 1.079 GB, free: 1.652 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.361, allocations: 0 / 1.079 GB, free: 1.652 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008502/1.369, allocations: 4.346 MB / 1.084 GB, free: 13.23 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00322/1.373, allocations: 0.9778 MB / 1.085 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001346/1.374, allocations: 51.94 kB / 1.085 GB, free: 12.17 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004255/1.378, allocations: 431.1 kB / 1.085 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002803/1.379, allocations: 149.8 kB / 1.085 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002793/1.379, allocations: 107.9 kB / 1.085 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.006528/1.385, allocations: 2.797 MB / 1.088 GB, free: 8.73 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.91e-07/1.385, allocations: 0 / 1.088 GB, free: 8.73 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.01511/1.401, allocations: 3.269 MB / 1.091 GB, free: 5.453 MB / 0.7637 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 (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,9), (1,7), (1,9), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01167/1.412, allocations: 6.158 MB / 1.097 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.009012/1.421, allocations: 4.435 MB / 1.102 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/1.421, allocations: 4.125 kB / 1.102 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00246/1.424, allocations: 1.235 MB / 1.103 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01676/1.441, allocations: 2.654 MB / 1.105 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3695/1.81, allocations: 44.85 MB / 1.149 GB, free: 327.1 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003163/1.813, allocations: 2.878 MB / 1.152 GB, free: 326.2 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.004545/1.818, allocations: 1.162 MB / 1.153 GB, free: 326.1 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002664/1.821, allocations: 2.523 MB / 1.156 GB, free: 324.1 MB / 0.7794 GB Notification: Performance of SimCode: time 7.21e-07/1.821, allocations: 0 / 1.156 GB, free: 324.1 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1909/2.012, allocations: 142.5 MB / 1.295 GB, free: 198.9 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001593/2.012, allocations: 276.6 kB / 1.295 GB, free: 198.6 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.338/8.35, allocations: 3.75 kB / 1.295 GB, free: 198.6 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)