Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.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.HeatExchangers.Examples.EmbeddedPipeDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp") translateModel(IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 174.3 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.7615/0.7615, allocations: 133.6 MB / 141.6 MB, free: 2.863 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.485/1.485, allocations: 221.5 MB / 395.5 MB, free: 10.87 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.0009379/0.0009381, allocations: 94.38 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.697e-05/2.699e-05, allocations: 4 kB / 0.5534 GB, free: 9.078 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5758/0.5758, allocations: 82.31 MB / 0.6338 GB, free: 40.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8819/1.458, allocations: 399.2 MB / 1.024 GB, free: 2.301 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/1.458, allocations: 97.62 kB / 1.024 GB, free: 2.25 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.004/3.462, allocations: 0.5093 GB / 1.533 GB, free: 67.27 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.122e-06/3.462, allocations: 0 / 1.533 GB, free: 67.27 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003756/3.463, allocations: 69.67 kB / 1.533 GB, free: 67.2 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 459 * Number of variables: 459 Notification: Performance of Generate backend data structure: time 0.007681/3.471, allocations: 2.527 MB / 1.536 GB, free: 64.63 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/3.471, allocations: 16.03 kB / 1.536 GB, free: 64.61 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002844/3.473, allocations: 468.3 kB / 1.536 GB, free: 64.15 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01716/3.491, allocations: 5.571 MB / 1.542 GB, free: 58.64 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/3.491, allocations: 56 kB / 1.542 GB, free: 58.59 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007672/3.492, allocations: 123.9 kB / 1.542 GB, free: 58.46 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004051/3.496, allocations: 1.791 MB / 1.543 GB, free: 56.67 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004666/3.5, allocations: 1.966 MB / 1.545 GB, free: 54.64 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.764e-05/3.5, allocations: 11.89 kB / 1.545 GB, free: 54.63 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002986/3.501, allocations: 4 kB / 1.545 GB, free: 54.62 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.694e-05/3.501, allocations: 63.5 kB / 1.545 GB, free: 54.56 MB / 0.6823 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.01392/3.515, allocations: 8.629 MB / 1.554 GB, free: 45.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003074/3.518, allocations: 2.338 MB / 1.556 GB, free: 43.26 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001137/3.519, allocations: 1.115 MB / 1.557 GB, free: 42.13 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007176/3.52, allocations: 1.011 MB / 1.558 GB, free: 40.89 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001211/3.521, allocations: 0.9797 MB / 1.559 GB, free: 39.89 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001321/3.522, allocations: 102.8 kB / 1.559 GB, free: 39.79 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=169): time 5.17e-06/3.522, allocations: 0 / 1.559 GB, free: 39.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=169): time 0.003775/3.526, allocations: 1.908 MB / 1.561 GB, free: 37.87 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/3.526, allocations: 120.8 kB / 1.561 GB, free: 37.73 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00294/3.529, allocations: 1.392 MB / 1.563 GB, free: 36.34 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002037/3.529, allocations: 33.7 kB / 1.563 GB, free: 36.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009238/3.53, allocations: 0.9363 MB / 1.564 GB, free: 35.35 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005195/3.531, allocations: 0.5812 MB / 1.564 GB, free: 34.76 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/3.531, allocations: 0 / 1.564 GB, free: 34.76 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000127/3.531, allocations: 373.9 kB / 1.565 GB, free: 34.39 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009628/3.532, allocations: 0.7418 MB / 1.565 GB, free: 33.64 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/3.533, allocations: 1.107 MB / 1.566 GB, free: 32.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001897/3.535, allocations: 1.019 MB / 1.567 GB, free: 31.39 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/3.535, allocations: 0 / 1.567 GB, free: 31.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.004156/3.539, allocations: 2.329 MB / 1.57 GB, free: 29.04 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006469/3.54, allocations: 3.103 MB / 1.573 GB, free: 25.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/3.54, allocations: 8 kB / 1.573 GB, free: 25.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006763/3.541, allocations: 254.4 kB / 1.573 GB, free: 25.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/3.542, allocations: 467.3 kB / 1.573 GB, free: 24.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003365/3.546, allocations: 4.315 MB / 1.578 GB, free: 20.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002195/3.548, allocations: 159.5 kB / 1.578 GB, free: 20.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000315/3.548, allocations: 67.98 kB / 1.578 GB, free: 20.15 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/3.548, allocations: 7.984 kB / 1.578 GB, free: 20.14 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004428/3.553, allocations: 2.115 MB / 1.58 GB, free: 18.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.757e-05/3.553, allocations: 12 kB / 1.58 GB, free: 18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006/3.553, allocations: 254.7 kB / 1.58 GB, free: 17.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/3.555, allocations: 459.3 kB / 1.58 GB, free: 17.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003395/3.558, allocations: 4.319 MB / 1.585 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002329/3.561, allocations: 159.7 kB / 1.585 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003445/3.561, allocations: 79.98 kB / 1.585 GB, free: 12.48 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 207 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {1 6,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006621/3.562, allocations: 140.5 kB / 1.585 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006343/3.562, allocations: 193.6 kB / 1.585 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004128/3.567, allocations: 2.146 MB / 1.587 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.193e-05/3.567, allocations: 19.98 kB / 1.587 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/3.567, allocations: 0 / 1.587 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002602/3.569, allocations: 1.962 MB / 1.589 GB, free: 7.914 MB / 0.6823 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.008681/3.578, allocations: 4.457 MB / 1.594 GB, free: 3.398 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/3.578, allocations: 3.984 kB / 1.594 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001632/3.58, allocations: 399.5 kB / 1.594 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005387/3.58, allocations: 218.4 kB / 1.594 GB, free: 2.781 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001508/3.58, allocations: 31.97 kB / 1.594 GB, free: 2.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4797/4.06, allocations: 4.145 MB / 1.598 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/4.06, allocations: 1.656 kB / 1.598 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007016/4.067, allocations: 3.211 MB / 1.601 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/4.069, allocations: 497.2 kB / 1.602 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003802/4.069, allocations: 19.48 kB / 1.602 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/4.071, allocations: 149.4 kB / 1.602 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003389/4.071, allocations: 115.1 kB / 1.602 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001669/4.071, allocations: 55.98 kB / 1.602 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002027/4.073, allocations: 1.072 MB / 1.603 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.51e-07/4.073, allocations: 0 / 1.603 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004793/4.078, allocations: 1.371 MB / 1.605 GB, free: 103.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 24 (pump.filter.s[1],pump.filter.s[2],embeddedPipe.vol[1].dynBal.U,firstOrder1.y,nakedTabs.C1[1].T,nakedTabs.C1[2].T,nakedTabs.C1[3].T,nakedTabs.C1[4].T,nakedTabs.C1[5].T,nakedTabs.C1[6].T,nakedTabs.C1[7].T,nakedTabs.C1[8].T,nakedTabs.C1[9].T,nakedTabs.C1[10].T,nakedTabs.C2[1].T,nakedTabs.C2[2].T,nakedTabs.C2[3].T,nakedTabs.C2[4].T,nakedTabs.C2[5].T,nakedTabs.C2[6].T,nakedTabs.C2[7].T,nakedTabs.C2[8].T,nakedTabs.C2[9].T,nakedTabs.C2[10].T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {1 6,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002123/4.08, allocations: 1.061 MB / 1.606 GB, free: 103 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004616/4.085, allocations: 3.569 MB / 1.609 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/4.085, allocations: 0 / 1.609 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001396/4.086, allocations: 1.164 MB / 1.61 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003509/4.09, allocations: 0.6453 MB / 1.611 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008113/4.098, allocations: 4.95 MB / 1.616 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002006/4.1, allocations: 1.936 MB / 1.618 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00381/4.104, allocations: 1.127 MB / 1.619 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000428/4.104, allocations: 135.5 kB / 1.619 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.052e-06/4.104, allocations: 1.344 kB / 1.619 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.06812/4.172, allocations: 41.8 MB / 1.66 GB, free: 98.37 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipeDp.pipe 2>&1)