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.0009937/0.0009937, allocations: 100.1 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.001307/0.001307, 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.381/1.381, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.039/1.039, allocations: 143.3 MB / 434.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003645, allocations: 16 kB / 0.5159 GB, free: 11.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1836, allocations: 83.41 MB / 0.5973 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.5309/0.7145, allocations: 251 MB / 0.8425 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4348/1.149, allocations: 43.16 MB / 0.8846 GB, free: 60.08 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01004/1.159, allocations: 246.5 kB / 0.8848 GB, free: 60.08 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01193/1.171, allocations: 2.977 MB / 0.8878 GB, free: 60.07 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0335/1.205, allocations: 9.228 MB / 0.8968 GB, free: 59.95 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01883/1.224, allocations: 5.973 MB / 0.9026 GB, free: 59.84 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.02682/1.251, allocations: 10.85 MB / 0.9132 GB, free: 59.81 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01104/1.262, allocations: 4.33 MB / 0.9174 GB, free: 59.28 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01796/1.28, allocations: 5.409 MB / 0.9227 GB, free: 59.26 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0108/1.291, allocations: 3.203 MB / 0.9258 GB, free: 59.24 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.00252/1.293, allocations: 229.7 kB / 0.9261 GB, free: 59.24 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01632/1.309, allocations: 2.796 MB / 0.9288 GB, free: 59.24 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003064/1.313, allocations: 1.029 MB / 0.9298 GB, free: 59.24 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.004425/1.317, allocations: 1.377 MB / 0.9311 GB, free: 59.21 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01469/1.332, allocations: 7.759 MB / 0.9387 GB, free: 56.46 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/1.332, allocations: 0 / 0.9387 GB, free: 56.46 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.745e-06/1.332, allocations: 3.781 kB / 0.9387 GB, free: 56.46 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003591/1.332, allocations: 0 / 0.9387 GB, free: 56.46 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.01491/1.347, allocations: 6.253 MB / 0.9448 GB, free: 52.6 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/1.347, allocations: 10.19 kB / 0.9448 GB, free: 52.6 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001591/1.349, allocations: 0.5412 MB / 0.9454 GB, free: 52.45 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002461/1.351, allocations: 0.7892 MB / 0.9461 GB, free: 52.06 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01233/1.364, allocations: 4.728 MB / 0.9507 GB, free: 50.16 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004924/1.364, allocations: 321.5 kB / 0.9511 GB, free: 50.14 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001497/1.366, allocations: 435.9 kB / 0.9515 GB, free: 50.14 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01133/1.377, allocations: 4.322 MB / 0.9557 GB, free: 48.64 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001248/1.377, allocations: 13.34 kB / 0.9557 GB, free: 48.64 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005482/1.378, allocations: 176.2 kB / 0.9559 GB, free: 48.64 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001721/1.378, allocations: 124.4 kB / 0.956 GB, free: 48.63 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008971/1.387, allocations: 2.936 MB / 0.9589 GB, free: 48.22 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.03605/1.423, allocations: 25.24 MB / 0.9835 GB, free: 29.29 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004137/1.427, allocations: 2.748 MB / 0.9862 GB, free: 27.59 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002478/1.43, allocations: 3.915 MB / 0.99 GB, free: 22.88 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.06e-05/1.43, allocations: 63.58 kB / 0.9901 GB, free: 22.83 MB / 0.67 GB Notification: Performance of pre-optimization done (n=217): time 3.877e-06/1.43, allocations: 4 kB / 0.9901 GB, free: 22.83 MB / 0.67 GB Notification: Performance of matching and sorting (n=217): time 0.009545/1.439, allocations: 4.074 MB / 0.9941 GB, free: 19.51 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/1.439, allocations: 73.41 kB / 0.9941 GB, free: 19.43 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00678/1.446, allocations: 4.401 MB / 0.9984 GB, free: 16.28 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005723/1.447, allocations: 81.7 kB / 0.9985 GB, free: 16.23 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001838/1.449, allocations: 2.789 MB / 1.001 GB, free: 14.74 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008955/1.45, allocations: 0.7642 MB / 1.002 GB, free: 14.09 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/1.45, allocations: 55.69 kB / 1.002 GB, free: 14.07 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.45, allocations: 417.5 kB / 1.002 GB, free: 13.71 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/1.451, allocations: 0.7801 MB / 1.003 GB, free: 13.21 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/1.452, allocations: 1.781 MB / 1.005 GB, free: 11.37 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/1.454, allocations: 1.08 MB / 1.006 GB, free: 10.74 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/1.454, allocations: 7.953 kB / 1.006 GB, free: 10.73 MB / 0.67 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007059/1.461, allocations: 3.495 MB / 1.009 GB, free: 8.16 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.002473/1.463, allocations: 10.32 MB / 1.019 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.341e-05/1.463, allocations: 20 kB / 1.019 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002615/1.466, allocations: 0.5742 MB / 1.02 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002077/1.468, allocations: 0.554 MB / 1.021 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002323/1.471, allocations: 2.684 MB / 1.023 GB, free: 9.695 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006138/1.477, allocations: 0.6231 MB / 1.024 GB, free: 9.121 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005744/1.477, allocations: 136.3 kB / 1.024 GB, free: 9.008 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/1.477, allocations: 5.562 kB / 1.024 GB, free: 9.004 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005246/1.483, allocations: 2.803 MB / 1.027 GB, free: 7.168 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.391e-05/1.483, allocations: 20 kB / 1.027 GB, free: 7.148 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009441/1.484, allocations: 372.8 kB / 1.027 GB, free: 6.836 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/1.485, allocations: 0.5559 MB / 1.028 GB, free: 6.336 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008474/1.494, allocations: 7.785 MB / 1.035 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005885/1.5, allocations: 0.5594 MB / 1.036 GB, free: 14.58 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000447/1.5, allocations: 131.1 kB / 1.036 GB, free: 14.47 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.003073/1.503, allocations: 1.005 MB / 1.037 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001875/1.505, allocations: 0.5094 MB / 1.037 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006458/1.512, allocations: 3.602 MB / 1.041 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.593e-05/1.512, allocations: 35.73 kB / 1.041 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.512, allocations: 0 / 1.041 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003691/1.515, allocations: 2.442 MB / 1.043 GB, free: 9.09 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.0149/1.53, allocations: 8.317 MB / 1.051 GB, free: 3.094 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/1.53, allocations: 0 / 1.051 GB, free: 3.094 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/1.532, allocations: 370.6 kB / 1.052 GB, free: 2.762 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007328/1.533, allocations: 307.5 kB / 1.052 GB, free: 2.516 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/1.533, allocations: 69.39 kB / 1.052 GB, free: 2.48 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/1.534, allocations: 2.493 MB / 1.055 GB, free: 84 kB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.534, allocations: 4 kB / 1.055 GB, free: 80 kB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007327/1.542, allocations: 4.428 MB / 1.059 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003023/1.545, allocations: 1.056 MB / 1.06 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000768/1.546, allocations: 44 kB / 1.06 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003321/1.549, allocations: 433 kB / 1.06 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002469/1.549, allocations: 145.8 kB / 1.061 GB, free: 10.01 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002431/1.549, allocations: 111.9 kB / 1.061 GB, free: 9.898 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.005689/1.555, allocations: 2.925 MB / 1.063 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.31e-07/1.555, allocations: 0 / 1.063 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.01493/1.57, allocations: 3.32 MB / 1.067 GB, free: 3.676 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.01113/1.581, allocations: 6.449 MB / 1.073 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008397/1.59, allocations: 4.403 MB / 1.077 GB, free: 9.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/1.59, allocations: 0 / 1.077 GB, free: 9.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002296/1.592, allocations: 1.226 MB / 1.079 GB, free: 7.832 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01457/1.607, allocations: 2.612 MB / 1.081 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03741/1.644, allocations: 29.37 MB / 1.11 GB, free: 6.73 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004987/1.649, allocations: 2.985 MB / 1.113 GB, free: 3.719 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.005976/1.655, allocations: 1.18 MB / 1.114 GB, free: 2.555 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004583/1.66, allocations: 2.539 MB / 1.116 GB, free: 20 kB / 0.7637 GB Notification: Performance of SimCode: time 1.733e-06/1.66, allocations: 0 / 1.116 GB, free: 20 kB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5271/2.187, allocations: 149.7 MB / 1.263 GB, free: 247.6 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001542/2.187, allocations: 258.4 kB / 1.263 GB, free: 247.2 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.256/8.443, allocations: 0 / 1.263 GB, free: 247.2 MB / 0.795 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: