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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7759/0.7759, allocations: 128.7 MB / 143.7 MB, free: 2.207 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001236/0.001235, allocations: 190.5 kB / 173.8 MB, free: 6.008 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.815/1.815, allocations: 205.4 MB / 409 MB, free: 10.47 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009208/0.000921, allocations: 93.92 kB / 486.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 13.12 kB / 0.5604 GB, free: 97.69 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1657, allocations: 76.76 MB / 0.6353 GB, free: 30.53 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.093/1.259, allocations: 371.5 MB / 0.9981 GB, free: 227.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/1.259, allocations: 101.3 kB / 0.9982 GB, free: 227.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 9.178/10.44, allocations: 2.638 GB / 3.637 GB, free: 25.29 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.465e-06/10.44, allocations: 3.188 kB / 3.637 GB, free: 25.29 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.001017/10.44, allocations: 168.7 kB / 3.637 GB, free: 25.25 MB / 0.7761 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.02381/10.46, allocations: 7.13 MB / 3.644 GB, free: 21.58 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/10.46, allocations: 7.594 kB / 3.644 GB, free: 21.58 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00496/10.47, allocations: 0.7722 MB / 3.644 GB, free: 21.21 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1187/10.59, allocations: 58.95 MB / 3.702 GB, free: 1.035 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003683/10.59, allocations: 320.1 kB / 3.702 GB, free: 0.7188 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001336/10.59, allocations: 419.9 kB / 3.703 GB, free: 316 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01387/10.6, allocations: 4.66 MB / 3.707 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001234/10.6, allocations: 15.86 kB / 3.707 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004312/10.6, allocations: 175.9 kB / 3.707 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001345/10.6, allocations: 123.9 kB / 3.708 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01021/10.61, allocations: 3.335 MB / 3.711 GB, free: 7.719 MB / 0.8073 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.7362/11.35, allocations: 24.07 MB / 3.734 GB, free: 35.13 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007834/11.36, allocations: 3.359 MB / 3.738 GB, free: 33.96 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00254/11.36, allocations: 3.939 MB / 3.742 GB, free: 29.55 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.877e-05/11.36, allocations: 58.62 kB / 3.742 GB, free: 29.51 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=222): time 4.749e-06/11.36, allocations: 0 / 3.742 GB, free: 29.51 MB / 0.8073 GB Notification: Performance of matching and sorting (n=222): time 0.02533/11.38, allocations: 5.686 MB / 3.747 GB, free: 28.88 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/11.39, allocations: 77.47 kB / 3.747 GB, free: 28.82 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007278/11.39, allocations: 3.567 MB / 3.751 GB, free: 28.52 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0007662/11.39, allocations: 76.25 kB / 3.751 GB, free: 28.49 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002477/11.4, allocations: 2.818 MB / 3.753 GB, free: 27.86 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001275/11.4, allocations: 0.7785 MB / 3.754 GB, free: 27.47 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/11.4, allocations: 54.19 kB / 3.754 GB, free: 27.47 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000147/11.4, allocations: 405.6 kB / 3.755 GB, free: 27.16 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001997/11.4, allocations: 0.9204 MB / 3.756 GB, free: 27.16 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002783/11.4, allocations: 1.959 MB / 3.758 GB, free: 25.93 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002818/11.4, allocations: 1.208 MB / 3.759 GB, free: 25.89 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.29e-05/11.4, allocations: 8.219 kB / 3.759 GB, free: 25.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01859/11.42, allocations: 4.373 MB / 3.763 GB, free: 25.51 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.003448/11.43, allocations: 11.47 MB / 3.774 GB, free: 29.64 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.826e-05/11.43, allocations: 31.84 kB / 3.774 GB, free: 29.64 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002315/11.43, allocations: 0.6464 MB / 3.775 GB, free: 29.61 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00217/11.43, allocations: 0.5276 MB / 3.775 GB, free: 29.61 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004036/11.44, allocations: 3.061 MB / 3.778 GB, free: 27.52 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006897/11.44, allocations: 0.604 MB / 3.779 GB, free: 27.45 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007433/11.44, allocations: 139.9 kB / 3.779 GB, free: 27.45 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/11.44, allocations: 11.73 kB / 3.779 GB, free: 27.44 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005199/11.45, allocations: 2.77 MB / 3.782 GB, free: 27.35 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.24e-05/11.45, allocations: 23.56 kB / 3.782 GB, free: 27.35 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007645/11.45, allocations: 348.3 kB / 3.782 GB, free: 27.32 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/11.45, allocations: 0.5297 MB / 3.783 GB, free: 27.32 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008689/11.46, allocations: 7.692 MB / 3.79 GB, free: 21.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006847/11.47, allocations: 0.5044 MB / 3.791 GB, free: 21.64 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007352/11.47, allocations: 128.2 kB / 3.791 GB, free: 21.64 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * 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 (298): * Single equations (assignments): 294 * 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.003791/11.47, allocations: 1.002 MB / 3.792 GB, free: 21.45 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001735/11.47, allocations: 0.5043 MB / 3.792 GB, free: 21.18 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01705/11.49, allocations: 4.911 MB / 3.797 GB, free: 20.91 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001362/11.49, allocations: 33.86 kB / 3.797 GB, free: 20.91 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/11.49, allocations: 5.109 kB / 3.797 GB, free: 20.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01431/11.5, allocations: 3.546 MB / 3.801 GB, free: 20.71 MB / 0.823 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.03167/11.54, allocations: 9.572 MB / 3.81 GB, free: 19.25 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.392e-05/11.54, allocations: 0 / 3.81 GB, free: 19.25 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001849/11.54, allocations: 372 kB / 3.81 GB, free: 19.25 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001892/11.54, allocations: 0.5531 MB / 3.811 GB, free: 19.22 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004688/11.54, allocations: 72.48 kB / 3.811 GB, free: 19.21 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02466/11.57, allocations: 9.784 MB / 3.82 GB, free: 13.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/11.57, allocations: 0 / 3.82 GB, free: 13.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02215/11.59, allocations: 5.686 MB / 3.826 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004754/11.59, allocations: 0.9455 MB / 3.827 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002056/11.59, allocations: 39.44 kB / 3.827 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006187/11.6, allocations: 487.9 kB / 3.827 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001054/11.6, allocations: 179.6 kB / 3.828 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003686/11.6, allocations: 94.78 kB / 3.828 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.008159/11.61, allocations: 2.751 MB / 3.83 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.41e-07/11.61, allocations: 3.906 kB / 3.83 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.02404/11.63, allocations: 3.685 MB / 3.834 GB, free: 28.26 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (220): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 32 * 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.00858/11.64, allocations: 3.52 MB / 3.837 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01174/11.65, allocations: 4.647 MB / 3.842 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/11.66, allocations: 4.438 kB / 3.842 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.003854/11.66, allocations: 1.939 MB / 3.844 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01601/11.67, allocations: 2.726 MB / 3.846 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02382/11.7, allocations: 11.18 MB / 3.857 GB, free: 20.45 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004245/11.7, allocations: 2.995 MB / 3.86 GB, free: 19.58 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.008237/11.71, allocations: 1.191 MB / 3.861 GB, free: 19.41 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001936/11.71, allocations: 420.6 kB / 3.862 GB, free: 19.4 MB / 0.8386 GB Notification: Performance of SimCode: time 2.194e-06/11.71, allocations: 4 kB / 3.862 GB, free: 19.39 MB / 0.8386 GB Notification: Performance of Templates: time 0.2216/11.93, allocations: 128.3 MB / 3.987 GB, free: 4.508 MB / 0.8386 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (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)