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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.7087/0.7087, allocations: 117.9 MB / 133.9 MB, free: 9.223 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.00118/0.00118, allocations: 188.3 kB / 161.7 MB, free: 13.98 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.715/1.715, allocations: 205.4 MB / 394.8 MB, free: 10.02 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.000942/0.000942, allocations: 90.27 kB / 470.1 MB, free: 29.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006568/0.0006571, allocations: 20 kB / 0.5423 GB, free: 9.754 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1769, allocations: 74.53 MB / 0.6151 GB, free: 15.15 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.07/1.247, allocations: 370.4 MB / 0.9769 GB, free: 133.5 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003823/1.248, allocations: 102.2 kB / 0.977 GB, free: 133.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 10.01/11.26, allocations: 2.598 GB / 3.575 GB, free: 37.45 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.404e-06/11.26, allocations: 0 / 3.575 GB, free: 37.45 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.001086/11.26, allocations: 171 kB / 3.576 GB, free: 37.42 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.02458/11.28, allocations: 7.062 MB / 3.582 GB, free: 34.02 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/11.28, allocations: 11.72 kB / 3.582 GB, free: 34.02 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00451/11.29, allocations: 0.769 MB / 3.583 GB, free: 33.65 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1099/11.4, allocations: 55.23 MB / 3.637 GB, free: 30.29 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004956/11.4, allocations: 315.9 kB / 3.637 GB, free: 30.28 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001637/11.4, allocations: 425.8 kB / 3.638 GB, free: 30.27 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0151/11.41, allocations: 4.697 MB / 3.642 GB, free: 29.49 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000259/11.41, allocations: 9.75 kB / 3.642 GB, free: 29.49 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001022/11.42, allocations: 171.9 kB / 3.643 GB, free: 29.49 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001456/11.42, allocations: 119.4 kB / 3.643 GB, free: 29.49 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01102/11.43, allocations: 3.341 MB / 3.646 GB, free: 29.46 MB / 0.7761 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.03627/11.46, allocations: 23.99 MB / 3.669 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006385/11.47, allocations: 3.368 MB / 3.673 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001629/11.47, allocations: 1.05 MB / 3.674 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002398/11.47, allocations: 3.941 MB / 3.678 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.389e-05/11.47, allocations: 57.12 kB / 3.678 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=222): time 5.129e-06/11.47, allocations: 2.438 kB / 3.678 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of matching and sorting (n=222): time 0.02662/11.5, allocations: 6.221 MB / 3.684 GB, free: 8.262 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/11.5, allocations: 76.06 kB / 3.684 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008999/11.51, allocations: 3.984 MB / 3.688 GB, free: 7.855 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0006872/11.51, allocations: 78.55 kB / 3.688 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.002368/11.51, allocations: 2.82 MB / 3.691 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001302/11.51, allocations: 0.7723 MB / 3.691 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003536/11.51, allocations: 55.72 kB / 3.691 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002195/11.51, allocations: 412 kB / 3.692 GB, free: 6.145 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002213/11.52, allocations: 0.9125 MB / 3.693 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002785/11.52, allocations: 1.981 MB / 3.695 GB, free: 4.844 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004696/11.52, allocations: 2.819 MB / 3.697 GB, free: 3.809 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.281e-05/11.52, allocations: 7 kB / 3.697 GB, free: 3.809 MB / 0.7761 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01994/11.54, allocations: 4.773 MB / 3.702 GB, free: 3.188 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005395/11.54, allocations: 0.8122 MB / 3.703 GB, free: 2.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.738e-05/11.54, allocations: 27.8 kB / 3.703 GB, free: 2.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001979/11.55, allocations: 0.6481 MB / 3.703 GB, free: 2.121 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002051/11.55, allocations: 0.5297 MB / 3.704 GB, free: 2.078 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03124/11.58, allocations: 12.17 MB / 3.716 GB, free: 11.99 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006209/11.59, allocations: 0.593 MB / 3.716 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007436/11.59, allocations: 142.8 kB / 3.717 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/11.59, allocations: 3.312 kB / 3.717 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006021/11.59, allocations: 2.777 MB / 3.719 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.516e-05/11.59, allocations: 23.22 kB / 3.719 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007783/11.59, allocations: 345.5 kB / 3.72 GB, free: 11.48 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/11.6, allocations: 0.5298 MB / 3.72 GB, free: 11.44 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008267/11.6, allocations: 7.614 MB / 3.728 GB, free: 5.715 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005277/11.61, allocations: 0.4945 MB / 3.728 GB, free: 5.582 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005157/11.61, allocations: 131.2 kB / 3.728 GB, free: 5.578 MB / 0.7917 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.003475/11.61, allocations: 0.9982 MB / 3.729 GB, free: 5.332 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001881/11.62, allocations: 0.5067 MB / 3.73 GB, free: 5.062 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01577/11.63, allocations: 4.917 MB / 3.734 GB, free: 4.637 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.141e-05/11.63, allocations: 33.92 kB / 3.734 GB, free: 4.637 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.692e-05/11.63, allocations: 0 / 3.734 GB, free: 4.637 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01197/11.64, allocations: 3.549 MB / 3.738 GB, free: 4.371 MB / 0.7917 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.02884/11.67, allocations: 9.525 MB / 3.747 GB, free: 2.777 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.896e-05/11.67, allocations: 0 / 3.747 GB, free: 2.777 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001483/11.67, allocations: 375.2 kB / 3.748 GB, free: 2.754 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001625/11.68, allocations: 0.5522 MB / 3.748 GB, free: 2.699 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003166/11.68, allocations: 68.59 kB / 3.748 GB, free: 2.699 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02141/11.7, allocations: 9.516 MB / 3.757 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/11.7, allocations: 3.875 kB / 3.757 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01847/11.72, allocations: 5.69 MB / 3.763 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003839/11.72, allocations: 0.9064 MB / 3.764 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001926/11.72, allocations: 49.47 kB / 3.764 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005221/11.73, allocations: 491 kB / 3.764 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006709/11.73, allocations: 178 kB / 3.765 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003981/11.73, allocations: 93 kB / 3.765 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.006442/11.73, allocations: 2.641 MB / 3.767 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.2e-07/11.73, allocations: 0 / 3.767 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.02088/11.76, allocations: 3.678 MB / 3.771 GB, free: 9.742 MB / 0.8073 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.006798/11.76, allocations: 3.274 MB / 3.774 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01129/11.77, allocations: 5.201 MB / 3.779 GB, free: 3.684 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/11.77, allocations: 0 / 3.779 GB, free: 3.684 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.00395/11.78, allocations: 1.945 MB / 3.781 GB, free: 1.902 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01981/11.8, allocations: 2.699 MB / 3.784 GB, free: 0 / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02441/11.82, allocations: 11.23 MB / 3.795 GB, free: 5.594 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004602/11.83, allocations: 2.883 MB / 3.797 GB, free: 3.422 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.007127/11.83, allocations: 1.169 MB / 3.799 GB, free: 2.598 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001561/11.83, allocations: 414.5 kB / 3.799 GB, free: 2.23 MB / 0.823 GB Notification: Performance of SimCode: time 1.342e-06/11.83, allocations: 4 kB / 3.799 GB, free: 2.227 MB / 0.823 GB Notification: Performance of Templates: time 0.87/12.7, allocations: 130.3 MB / 3.926 GB, free: 64.34 MB / 0.823 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)