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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="BuildSysPro_BuildSysPro_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.0008935/0.0008935, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0009396/0.0009398, allocations: 168.7 kB / 15.95 MB, free: 204 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.27/1.27, allocations: 223.2 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9383/0.9383, allocations: 143.4 MB / 434.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003063/0.0003065, allocations: 12 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1633, allocations: 83.42 MB / 0.5976 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.881/1.044, allocations: 277.6 MB / 0.8687 GB, free: 58.55 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.06345/1.108, allocations: 47.09 MB / 0.9146 GB, free: 57.9 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01181/1.12, allocations: 261.8 kB / 0.9149 GB, free: 57.9 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01086/1.131, allocations: 2.381 MB / 0.9172 GB, free: 57.86 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02641/1.157, allocations: 7.262 MB / 0.9243 GB, free: 57.55 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01625/1.173, allocations: 4.781 MB / 0.929 GB, free: 57.43 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.03091/1.204, allocations: 21.09 MB / 0.9496 GB, free: 54.16 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01126/1.216, allocations: 4.29 MB / 0.9538 GB, free: 52.45 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01541/1.231, allocations: 5.907 MB / 0.9595 GB, free: 50.18 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009833/1.241, allocations: 4.596 MB / 0.964 GB, free: 48.38 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002318/1.243, allocations: 232.7 kB / 0.9642 GB, free: 48.38 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01209/1.255, allocations: 2.639 MB / 0.9668 GB, free: 47.66 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002494/1.258, allocations: 1.06 MB / 0.9679 GB, free: 47.16 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.004979/1.263, allocations: 1.379 MB / 0.9692 GB, free: 46.91 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01186/1.275, allocations: 7.89 MB / 0.9769 GB, free: 42.64 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/1.275, allocations: 0 / 0.9769 GB, free: 42.64 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.496e-06/1.275, allocations: 3.938 kB / 0.9769 GB, free: 42.63 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002846/1.275, allocations: 1.641 kB / 0.9769 GB, free: 42.63 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.00951/1.285, allocations: 6.28 MB / 0.983 GB, free: 38.64 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/1.285, allocations: 12.03 kB / 0.9831 GB, free: 38.62 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000767/1.285, allocations: 0.5384 MB / 0.9836 GB, free: 38.33 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/1.287, allocations: 0.786 MB / 0.9844 GB, free: 37.54 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007317/1.294, allocations: 5.028 MB / 0.9893 GB, free: 33.99 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/1.294, allocations: 316 kB / 0.9896 GB, free: 33.81 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004093/1.295, allocations: 441.6 kB / 0.99 GB, free: 33.52 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005702/1.301, allocations: 4.353 MB / 0.9942 GB, free: 30.25 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.208e-05/1.301, allocations: 11.88 kB / 0.9942 GB, free: 30.24 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002817/1.301, allocations: 179.4 kB / 0.9944 GB, free: 30.2 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.897e-05/1.301, allocations: 119.6 kB / 0.9945 GB, free: 30.09 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004079/1.305, allocations: 2.94 MB / 0.9974 GB, free: 28.15 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.01928/1.324, allocations: 25.08 MB / 1.022 GB, free: 2.551 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002308/1.327, allocations: 2.759 MB / 1.025 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001313/1.328, allocations: 0.9915 MB / 1.026 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002736/1.331, allocations: 3.918 MB / 1.029 GB, free: 9.828 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.117e-05/1.331, allocations: 64.56 kB / 1.029 GB, free: 9.754 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=217): time 3.897e-06/1.331, allocations: 4 kB / 1.029 GB, free: 9.75 MB / 0.6856 GB Notification: Performance of matching and sorting (n=217): time 0.009103/1.34, allocations: 4.077 MB / 1.033 GB, free: 5.598 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/1.34, allocations: 73.41 kB / 1.034 GB, free: 5.516 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005679/1.346, allocations: 4.182 MB / 1.038 GB, free: 1.355 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003469/1.346, allocations: 81.7 kB / 1.038 GB, free: 1.27 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.002088/1.348, allocations: 2.802 MB / 1.04 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008301/1.349, allocations: 0.7654 MB / 1.041 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/1.349, allocations: 60 kB / 1.041 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001888/1.349, allocations: 411.9 kB / 1.042 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/1.351, allocations: 0.7904 MB / 1.042 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001984/1.353, allocations: 1.791 MB / 1.044 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/1.354, allocations: 1.074 MB / 1.045 GB, free: 9.129 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.456e-05/1.354, allocations: 8 kB / 1.045 GB, free: 9.121 MB / 0.7012 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007353/1.362, allocations: 3.508 MB / 1.049 GB, free: 5.555 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005379/1.362, allocations: 0.7347 MB / 1.049 GB, free: 4.512 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.129e-05/1.362, allocations: 20 kB / 1.049 GB, free: 4.492 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002343/1.365, allocations: 0.5717 MB / 1.05 GB, free: 3.914 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/1.366, allocations: 0.5577 MB / 1.05 GB, free: 3.355 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002063/1.369, allocations: 2.689 MB / 1.053 GB, free: 0.5664 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005404/1.374, allocations: 0.5986 MB / 1.054 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005342/1.374, allocations: 139.9 kB / 1.054 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/1.375, allocations: 4.828 kB / 1.054 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005498/1.38, allocations: 2.798 MB / 1.057 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/1.38, allocations: 28.03 kB / 1.057 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008807/1.381, allocations: 367.1 kB / 1.057 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/1.383, allocations: 0.5577 MB / 1.057 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007876/1.39, allocations: 7.7 MB / 1.065 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00457/1.395, allocations: 0.5498 MB / 1.065 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003552/1.395, allocations: 132 kB / 1.066 GB, free: 3.074 MB / 0.7169 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.00234/1.398, allocations: 1.008 MB / 1.067 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001285/1.399, allocations: 0.5055 MB / 1.067 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005986/1.405, allocations: 3.597 MB / 1.071 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.36e-05/1.405, allocations: 39.97 kB / 1.071 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.405, allocations: 0 / 1.071 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003562/1.409, allocations: 2.432 MB / 1.073 GB, free: 11.38 MB / 0.7325 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.01358/1.422, allocations: 8.255 MB / 1.081 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/1.422, allocations: 0 / 1.081 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/1.424, allocations: 363.5 kB / 1.081 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006779/1.424, allocations: 313.2 kB / 1.082 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001231/1.424, allocations: 67.95 kB / 1.082 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/1.426, allocations: 2.486 MB / 1.084 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.426, allocations: 0 / 1.084 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006932/1.433, allocations: 4.335 MB / 1.088 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003251/1.436, allocations: 1.005 MB / 1.089 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001106/1.437, allocations: 48 kB / 1.089 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003494/1.441, allocations: 428.8 kB / 1.09 GB, free: 9.688 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002554/1.441, allocations: 149.8 kB / 1.09 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002437/1.442, allocations: 115.9 kB / 1.09 GB, free: 9.426 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.004229/1.446, allocations: 2.746 MB / 1.093 GB, free: 6.707 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/1.446, allocations: 0 / 1.093 GB, free: 6.707 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.01116/1.457, allocations: 3.249 MB / 1.096 GB, free: 3.449 MB / 0.7481 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.008914/1.466, allocations: 6.089 MB / 1.102 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.006763/1.473, allocations: 4.396 MB / 1.106 GB, free: 8.977 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/1.473, allocations: 5.062 kB / 1.106 GB, free: 8.973 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001796/1.474, allocations: 1.229 MB / 1.107 GB, free: 7.742 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01209/1.487, allocations: 2.65 MB / 1.11 GB, free: 5.121 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06588/1.553, allocations: 35.99 MB / 1.145 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002449/1.555, allocations: 2.873 MB / 1.148 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.005409/1.56, allocations: 1.172 MB / 1.149 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003369/1.564, allocations: 2.53 MB / 1.152 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of SimCode: time 5.81e-07/1.564, allocations: 0 / 1.152 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5246/2.088, allocations: 149.2 MB / 1.297 GB, free: 242.4 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/2.089, allocations: 259.8 kB / 1.298 GB, free: 242.1 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.699/7.788, allocations: 0 / 1.298 GB, free: 242.1 MB / 0.8106 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1) Environment - environmentSimulation: