Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 173.2 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8003/0.8003, allocations: 133.6 MB / 141.6 MB, free: 2.828 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 221.5 MB / 395.5 MB, free: 10.78 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009569/0.000957, allocations: 100.7 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.213e-05/2.224e-05, allocations: 8 kB / 0.5535 GB, free: 9.062 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4964/0.4964, allocations: 82.3 MB / 0.6338 GB, free: 40.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8676/1.364, allocations: 383.1 MB / 1.008 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/1.364, allocations: 93.83 kB / 1.008 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 12.21/13.57, allocations: 2.777 GB / 3.785 GB, free: 32.29 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.883e-06/13.57, allocations: 0 / 3.785 GB, free: 32.29 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.001265/13.57, allocations: 173.2 kB / 3.785 GB, free: 32.26 MB / 0.8073 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.02005/13.59, allocations: 5.917 MB / 3.791 GB, free: 29.2 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/13.59, allocations: 10.94 kB / 3.791 GB, free: 29.2 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004671/13.6, allocations: 0.7774 MB / 3.791 GB, free: 28.83 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1549/13.75, allocations: 60.52 MB / 3.85 GB, free: 24.34 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00033/13.75, allocations: 129.5 kB / 3.851 GB, free: 24.34 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002104/13.76, allocations: 255.9 kB / 3.851 GB, free: 24.33 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009028/13.77, allocations: 2.519 MB / 3.853 GB, free: 23.29 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01147/13.78, allocations: 3.615 MB / 3.857 GB, free: 21.47 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002054/13.78, allocations: 11.66 kB / 3.857 GB, free: 21.46 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009887/13.78, allocations: 9.875 kB / 3.857 GB, free: 21.46 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001298/13.78, allocations: 117.4 kB / 3.857 GB, free: 21.46 MB / 0.8073 GB Warning: The model contains alias variables with conflicting start and/or 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.03094/13.81, allocations: 23.38 MB / 3.88 GB, free: 3.047 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002657/13.81, allocations: 2.841 MB / 3.882 GB, free: 460 kB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001278/13.81, allocations: 0.9915 MB / 3.883 GB, free: 15.51 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003637/13.82, allocations: 3.941 MB / 3.887 GB, free: 10.81 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.099e-05/13.82, allocations: 64.56 kB / 3.887 GB, free: 10.74 MB / 0.823 GB Notification: Performance of pre-optimization done (n=225): time 4.518e-06/13.82, allocations: 3.938 kB / 3.887 GB, free: 10.73 MB / 0.823 GB Notification: Performance of matching and sorting (n=225): time 0.008941/13.83, allocations: 2.874 MB / 3.89 GB, free: 8.203 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/13.83, allocations: 73.41 kB / 3.89 GB, free: 8.121 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006875/13.83, allocations: 3.314 MB / 3.893 GB, free: 5.16 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006382/13.83, allocations: 29.7 kB / 3.894 GB, free: 5.125 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002576/13.84, allocations: 2.793 MB / 3.896 GB, free: 2.574 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001212/13.84, allocations: 0.754 MB / 3.897 GB, free: 1.879 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/13.84, allocations: 0 / 3.897 GB, free: 1.879 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002134/13.84, allocations: 409.2 kB / 3.897 GB, free: 1.508 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/13.84, allocations: 0.7292 MB / 3.898 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001962/13.84, allocations: 1.702 MB / 3.9 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003846/13.85, allocations: 1.37 MB / 3.901 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.38e-05/13.85, allocations: 15.89 kB / 3.901 GB, free: 13.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.009127/13.85, allocations: 3.467 MB / 3.904 GB, free: 10.47 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.7985/14.65, allocations: 10.31 MB / 3.915 GB, free: 63.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.835e-05/14.65, allocations: 21.64 kB / 3.915 GB, free: 63.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/14.65, allocations: 341.2 kB / 3.915 GB, free: 63.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002615/14.66, allocations: 0.53 MB / 3.915 GB, free: 63.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002407/14.66, allocations: 2.752 MB / 3.918 GB, free: 61.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006698/14.67, allocations: 494.2 kB / 3.919 GB, free: 61.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006893/14.67, allocations: 133.2 kB / 3.919 GB, free: 61.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/14.67, allocations: 3.5 kB / 3.919 GB, free: 61.7 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007544/14.67, allocations: 2.754 MB / 3.921 GB, free: 61.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.482e-05/14.67, allocations: 25.06 kB / 3.921 GB, free: 61.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00094/14.68, allocations: 350.8 kB / 3.922 GB, free: 61.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/14.68, allocations: 0.5277 MB / 3.922 GB, free: 61.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007775/14.68, allocations: 7.395 MB / 3.929 GB, free: 56.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006174/14.69, allocations: 457.2 kB / 3.93 GB, free: 56.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006754/14.69, allocations: 128.4 kB / 3.93 GB, free: 56.33 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (299): * Single equations (assignments): 295 * 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.001014/14.69, allocations: 184.9 kB / 3.93 GB, free: 56.22 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001978/14.69, allocations: 0.5017 MB / 3.931 GB, free: 56.21 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008735/14.7, allocations: 3.751 MB / 3.934 GB, free: 55.93 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.392e-05/14.7, allocations: 39.64 kB / 3.934 GB, free: 55.93 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/14.7, allocations: 0 / 3.934 GB, free: 55.93 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005144/14.71, allocations: 2.627 MB / 3.937 GB, free: 55.73 MB / 0.8386 GB Warning: The model contains alias variables with conflicting start and/or 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.01846/14.73, allocations: 8.087 MB / 3.945 GB, free: 54.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/14.73, allocations: 2.219 kB / 3.945 GB, free: 54.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001644/14.73, allocations: 385 kB / 3.945 GB, free: 54.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005087/14.73, allocations: 227 kB / 3.945 GB, free: 54.27 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001652/14.73, allocations: 38.09 kB / 3.945 GB, free: 54.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001389/14.73, allocations: 2.505 MB / 3.948 GB, free: 52.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/14.73, allocations: 7.391 kB / 3.948 GB, free: 52.18 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01177/14.74, allocations: 4.71 MB / 3.953 GB, free: 51.43 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00425/14.75, allocations: 0.9833 MB / 3.954 GB, free: 51.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001459/14.75, allocations: 4.312 kB / 3.954 GB, free: 51.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004395/14.75, allocations: 398.1 kB / 3.954 GB, free: 51.04 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002487/14.75, allocations: 160.4 kB / 3.954 GB, free: 51.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002796/14.75, allocations: 113.4 kB / 3.954 GB, free: 51.04 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.004504/14.76, allocations: 2.45 MB / 3.957 GB, free: 50.86 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/14.76, allocations: 0 / 3.957 GB, free: 50.86 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.017/14.78, allocations: 3.45 MB / 3.96 GB, free: 50.67 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 189 * 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.006812/14.78, allocations: 3.417 MB / 3.963 GB, free: 49.47 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.007702/14.79, allocations: 4.247 MB / 3.967 GB, free: 48.93 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/14.79, allocations: 3.844 kB / 3.967 GB, free: 48.93 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001851/14.79, allocations: 1.227 MB / 3.969 GB, free: 48.92 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01464/14.81, allocations: 2.615 MB / 3.971 GB, free: 48.9 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/14.82, allocations: 7.174 MB / 3.978 GB, free: 46.97 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00306/14.83, allocations: 3.009 MB / 3.981 GB, free: 46.17 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.008475/14.83, allocations: 1.485 MB / 3.983 GB, free: 46.12 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008562/14.83, allocations: 323.3 kB / 3.983 GB, free: 46.12 MB / 0.8386 GB Notification: Performance of SimCode: time 1.092e-06/14.83, allocations: 0 / 3.983 GB, free: 46.12 MB / 0.8386 GB Notification: Performance of Templates: time 0.1819/15.02, allocations: 114.3 MB / 4.094 GB, free: 37.22 MB / 0.8386 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)