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.001144/0.001144, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7374/0.7374, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 221.3 MB / 400.4 MB, free: 5.855 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009679/0.0009679, allocations: 95.81 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.718e-05/3.722e-05, allocations: 3.562 kB / 0.56 GB, free: 87.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1701, allocations: 82.3 MB / 0.6404 GB, free: 7.844 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.286/1.456, allocations: 383.7 MB / 1.015 GB, free: 238.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/1.456, allocations: 93.5 kB / 1.015 GB, free: 238.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 11.48/12.93, allocations: 2.788 GB / 3.804 GB, free: 3.586 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.934e-06/12.93, allocations: 0 / 3.804 GB, free: 3.586 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.001091/12.94, allocations: 175.9 kB / 3.804 GB, free: 3.414 MB / 0.823 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.0214/12.96, allocations: 5.921 MB / 3.81 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.871e-05/12.96, allocations: 8.031 kB / 3.81 GB, free: 13.37 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005612/12.96, allocations: 0.7848 MB / 3.81 GB, free: 12.58 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.022/13.98, allocations: 60.64 MB / 3.87 GB, free: 42.47 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003304/13.98, allocations: 318 kB / 3.87 GB, free: 42.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001272/13.99, allocations: 423.2 kB / 3.87 GB, free: 42.45 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008457/13.99, allocations: 4.195 MB / 3.874 GB, free: 41.67 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001032/13.99, allocations: 13.12 kB / 3.874 GB, free: 41.67 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004774/14, allocations: 170.7 kB / 3.875 GB, free: 41.67 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001244/14, allocations: 123.8 kB / 3.875 GB, free: 41.67 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006434/14, allocations: 2.79 MB / 3.877 GB, free: 41.64 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 preOpt removeSimpleEquations (simulation): time 0.03651/14.04, allocations: 24.05 MB / 3.901 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003136/14.04, allocations: 2.908 MB / 3.904 GB, free: 26.39 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/14.04, allocations: 1.044 MB / 3.905 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002506/14.05, allocations: 3.94 MB / 3.909 GB, free: 21.97 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.828e-05/14.05, allocations: 61.22 kB / 3.909 GB, free: 21.93 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=225): time 4.709e-06/14.05, allocations: 0 / 3.909 GB, free: 21.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=225): time 0.00604/14.05, allocations: 2.568 MB / 3.911 GB, free: 21.53 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/14.05, allocations: 74.97 kB / 3.911 GB, free: 21.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007728/14.06, allocations: 3.616 MB / 3.915 GB, free: 21.14 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0007226/14.06, allocations: 79.73 kB / 3.915 GB, free: 21.11 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.002307/14.06, allocations: 2.79 MB / 3.918 GB, free: 20.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001129/14.06, allocations: 0.789 MB / 3.918 GB, free: 19.77 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/14.06, allocations: 54.67 kB / 3.918 GB, free: 19.77 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001452/14.06, allocations: 404.4 kB / 3.919 GB, free: 19.46 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/14.07, allocations: 0.7663 MB / 3.919 GB, free: 19.45 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00174/14.07, allocations: 1.757 MB / 3.921 GB, free: 18.3 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/14.07, allocations: 1.071 MB / 3.922 GB, free: 18.26 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.367e-05/14.07, allocations: 5.781 kB / 3.922 GB, free: 18.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.00668/14.08, allocations: 3.274 MB / 3.925 GB, free: 17.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.003922/14.08, allocations: 10.37 MB / 3.936 GB, free: 23.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.111e-05/14.08, allocations: 22 kB / 3.936 GB, free: 23.11 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/14.08, allocations: 392.3 kB / 3.936 GB, free: 23.08 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002034/14.08, allocations: 0.5257 MB / 3.936 GB, free: 23.08 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/14.08, allocations: 2.682 MB / 3.939 GB, free: 20.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006233/14.09, allocations: 0.558 MB / 3.94 GB, free: 20.85 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005006/14.09, allocations: 133 kB / 3.94 GB, free: 20.85 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/14.09, allocations: 3.203 kB / 3.94 GB, free: 20.85 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004795/14.1, allocations: 2.733 MB / 3.942 GB, free: 20.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.983e-05/14.1, allocations: 24.41 kB / 3.942 GB, free: 20.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00089/14.1, allocations: 376.5 kB / 3.943 GB, free: 20.72 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/14.1, allocations: 0.5271 MB / 3.943 GB, free: 20.72 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008602/14.11, allocations: 7.699 MB / 3.951 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006245/14.11, allocations: 0.5225 MB / 3.951 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006511/14.11, allocations: 131.2 kB / 3.952 GB, free: 14.96 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.0009612/14.12, allocations: 273.6 kB / 3.952 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001959/14.12, allocations: 0.5091 MB / 3.952 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006998/14.12, allocations: 3.704 MB / 3.956 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.332e-05/14.12, allocations: 41.44 kB / 3.956 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/14.12, allocations: 0 / 3.956 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003677/14.13, allocations: 2.537 MB / 3.958 GB, free: 14.08 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.01819/14.15, allocations: 8.517 MB / 3.967 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/14.15, allocations: 0 / 3.967 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/14.15, allocations: 388.5 kB / 3.967 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006874/14.15, allocations: 297.7 kB / 3.967 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001498/14.15, allocations: 68.73 kB / 3.967 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00231/14.15, allocations: 2.485 MB / 3.97 GB, free: 26.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/14.15, allocations: 7.391 kB / 3.97 GB, free: 26.41 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007957/14.16, allocations: 4.65 MB / 3.974 GB, free: 25.64 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004174/14.16, allocations: 0.9961 MB / 3.975 GB, free: 25.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001805/14.16, allocations: 45.28 kB / 3.975 GB, free: 25.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005068/14.17, allocations: 441.7 kB / 3.976 GB, free: 25.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002929/14.17, allocations: 159.2 kB / 3.976 GB, free: 25.19 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003061/14.17, allocations: 112.5 kB / 3.976 GB, free: 25.19 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.005601/14.18, allocations: 2.75 MB / 3.979 GB, free: 24.99 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.503e-06/14.18, allocations: 1.094 kB / 3.979 GB, free: 24.99 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01685/14.19, allocations: 3.59 MB / 3.982 GB, free: 24.59 MB / 0.8698 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.00687/14.2, allocations: 3.417 MB / 3.986 GB, free: 23.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.008367/14.21, allocations: 4.499 MB / 3.99 GB, free: 22.71 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.078e-06/14.21, allocations: 3.984 kB / 3.99 GB, free: 22.71 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002182/14.21, allocations: 1.284 MB / 3.991 GB, free: 22.69 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01676/14.23, allocations: 2.709 MB / 3.994 GB, free: 22.63 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01852/14.25, allocations: 7.305 MB / 4.001 GB, free: 20.59 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004336/14.25, allocations: 3.009 MB / 4.004 GB, free: 19.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.008453/14.26, allocations: 1.506 MB / 4.005 GB, free: 19.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008485/14.26, allocations: 320.9 kB / 4.006 GB, free: 19.39 MB / 0.8698 GB Notification: Performance of SimCode: time 1.262e-06/14.26, allocations: 0 / 4.006 GB, free: 19.39 MB / 0.8698 GB Notification: Performance of Templates: time 0.2263/14.49, allocations: 132.2 MB / 4.135 GB, free: 7.332 MB / 0.8855 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)