Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001869/0.001869, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8333/0.8333, allocations: 130.7 MB / 138.7 MB, free: 3.594 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.552/1.552, allocations: 221.5 MB / 391.8 MB, free: 14.15 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.000924/0.0009239, allocations: 98.12 kB / 473.9 MB, free: 4.461 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.514e-05/2.544e-05, allocations: 4 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4966/0.4966, allocations: 81.58 MB / 0.6282 GB, free: 42.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8506/1.347, allocations: 382.8 MB / 1.002 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/1.348, allocations: 90.61 kB / 1.002 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 12.42/13.77, allocations: 2.777 GB / 3.779 GB, free: 36.61 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.765e-06/13.77, allocations: 7.594 kB / 3.779 GB, free: 36.6 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.001301/13.77, allocations: 175.5 kB / 3.779 GB, free: 36.57 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.01985/13.79, allocations: 5.916 MB / 3.785 GB, free: 33.51 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/13.79, allocations: 9.812 kB / 3.785 GB, free: 33.51 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005111/13.8, allocations: 0.7809 MB / 3.785 GB, free: 33.13 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1315/13.93, allocations: 60.52 MB / 3.845 GB, free: 3.461 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000513/13.93, allocations: 136 kB / 3.845 GB, free: 3.328 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002621/13.93, allocations: 252 kB / 3.845 GB, free: 3.082 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01052/13.94, allocations: 2.523 MB / 3.847 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8211/14.76, allocations: 3.596 MB / 3.851 GB, free: 40.05 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001267/14.76, allocations: 12.78 kB / 3.851 GB, free: 40.05 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004159/14.77, allocations: 10.34 kB / 3.851 GB, free: 40.05 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001722/14.77, allocations: 118.6 kB / 3.851 GB, free: 40.05 MB / 0.823 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.02773/14.79, allocations: 23.37 MB / 3.874 GB, free: 26.33 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002517/14.8, allocations: 2.848 MB / 3.877 GB, free: 25.16 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/14.8, allocations: 0.9875 MB / 3.878 GB, free: 25.15 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003374/14.8, allocations: 3.937 MB / 3.881 GB, free: 36.74 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.113e-05/14.8, allocations: 60.88 kB / 3.881 GB, free: 36.7 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=225): time 5.751e-06/14.8, allocations: 2 kB / 3.881 GB, free: 36.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=225): time 0.008048/14.81, allocations: 2.877 MB / 3.884 GB, free: 36.32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/14.81, allocations: 78.88 kB / 3.884 GB, free: 36.26 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005959/14.81, allocations: 3.303 MB / 3.888 GB, free: 35.97 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0005578/14.81, allocations: 32.02 kB / 3.888 GB, free: 35.94 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.002585/14.82, allocations: 2.796 MB / 3.89 GB, free: 35.3 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009649/14.82, allocations: 0.7576 MB / 3.891 GB, free: 34.9 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/14.82, allocations: 0 / 3.891 GB, free: 34.9 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000225/14.82, allocations: 412.5 kB / 3.891 GB, free: 34.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/14.82, allocations: 0.7265 MB / 3.892 GB, free: 34.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001782/14.82, allocations: 1.697 MB / 3.894 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004047/14.83, allocations: 1.372 MB / 3.895 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.852e-05/14.83, allocations: 6.25 kB / 3.895 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.009708/14.84, allocations: 3.469 MB / 3.899 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.004076/14.84, allocations: 10.32 MB / 3.909 GB, free: 22.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-05/14.84, allocations: 22.97 kB / 3.909 GB, free: 22.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007645/14.84, allocations: 344 kB / 3.909 GB, free: 22.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00205/14.84, allocations: 0.5243 MB / 3.91 GB, free: 22.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/14.85, allocations: 2.753 MB / 3.912 GB, free: 20.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006124/14.85, allocations: 496.3 kB / 3.913 GB, free: 20.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004944/14.85, allocations: 136.6 kB / 3.913 GB, free: 20.07 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/14.85, allocations: 4.062 kB / 3.913 GB, free: 20.07 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006789/14.86, allocations: 2.759 MB / 3.915 GB, free: 19.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.038e-05/14.86, allocations: 22.16 kB / 3.916 GB, free: 19.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000883/14.86, allocations: 356.6 kB / 3.916 GB, free: 19.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/14.86, allocations: 0.5188 MB / 3.916 GB, free: 19.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00935/14.87, allocations: 7.398 MB / 3.924 GB, free: 30.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00703/14.88, allocations: 458.9 kB / 3.924 GB, free: 30.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008039/14.88, allocations: 130.4 kB / 3.924 GB, free: 30.5 MB / 0.8542 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.001635/14.88, allocations: 178.9 kB / 3.924 GB, free: 30.39 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003024/14.88, allocations: 0.5004 MB / 3.925 GB, free: 30.13 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009822/14.89, allocations: 3.766 MB / 3.928 GB, free: 29.85 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.195e-05/14.89, allocations: 37.25 kB / 3.929 GB, free: 29.85 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/14.89, allocations: 0 / 3.929 GB, free: 29.85 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005109/14.9, allocations: 2.619 MB / 3.931 GB, free: 29.65 MB / 0.8542 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.02144/14.92, allocations: 8.093 MB / 3.939 GB, free: 28.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/14.92, allocations: 2.688 kB / 3.939 GB, free: 28.21 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/14.92, allocations: 386.3 kB / 3.939 GB, free: 28.21 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005296/14.92, allocations: 226.6 kB / 3.94 GB, free: 28.18 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002573/14.92, allocations: 42.27 kB / 3.94 GB, free: 28.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001965/14.92, allocations: 2.502 MB / 3.942 GB, free: 26.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/14.92, allocations: 5.594 kB / 3.942 GB, free: 26.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01051/14.93, allocations: 4.7 MB / 3.947 GB, free: 25.34 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004055/14.94, allocations: 0.9863 MB / 3.948 GB, free: 24.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00199/14.94, allocations: 4.188 kB / 3.948 GB, free: 24.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005463/14.95, allocations: 400.7 kB / 3.948 GB, free: 24.95 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003035/14.95, allocations: 155.7 kB / 3.948 GB, free: 24.94 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004004/14.95, allocations: 117.4 kB / 3.948 GB, free: 24.94 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.006535/14.95, allocations: 2.449 MB / 3.951 GB, free: 24.76 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.8e-07/14.95, allocations: 0 / 3.951 GB, free: 24.76 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01774/14.97, allocations: 3.451 MB / 3.954 GB, free: 24.34 MB / 0.8542 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.008491/14.98, allocations: 3.419 MB / 3.957 GB, free: 23.08 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00959/14.99, allocations: 4.241 MB / 3.962 GB, free: 22.54 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/14.99, allocations: 0 / 3.962 GB, free: 22.54 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002415/14.99, allocations: 1.237 MB / 3.963 GB, free: 22.52 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01642/15.01, allocations: 2.61 MB / 3.965 GB, free: 22.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01931/15.03, allocations: 7.165 MB / 3.972 GB, free: 20.56 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004604/15.03, allocations: 3.007 MB / 3.975 GB, free: 19.75 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.009843/15.04, allocations: 1.488 MB / 3.977 GB, free: 19.61 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/15.04, allocations: 320.9 kB / 3.977 GB, free: 19.61 MB / 0.8542 GB Notification: Performance of SimCode: time 3.146e-06/15.04, allocations: 0 / 3.977 GB, free: 19.61 MB / 0.8542 GB Notification: Performance of Templates: time 0.2092/15.25, allocations: 114.3 MB / 4.089 GB, free: 10.36 MB / 0.8542 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)