Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe") translateModel(IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009322/0.0009322, allocations: 91.77 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009411/0.0009412, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9977/0.9977, allocations: 135.3 MB / 426.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.0003762, allocations: 16 kB / 0.507 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1737, allocations: 82.3 MB / 0.5874 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe): time 0.3221/0.4958, allocations: 31.09 MB / 0.6177 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009387/0.5052, allocations: 8.202 MB / 0.6257 GB, free: 32.19 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.5065, allocations: 41.59 kB / 0.6258 GB, free: 32.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.5077, allocations: 420.4 kB / 0.6262 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002643/0.5103, allocations: 1.084 MB / 0.6272 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002424/0.5128, allocations: 0.9562 MB / 0.6282 GB, free: 30.88 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003225/0.516, allocations: 3.822 MB / 0.6319 GB, free: 29.17 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001562/0.5176, allocations: 1.451 MB / 0.6333 GB, free: 28.62 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001713/0.5193, allocations: 1.176 MB / 0.6345 GB, free: 28.15 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001207/0.5205, allocations: 1.043 MB / 0.6355 GB, free: 27.71 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000169/0.5207, allocations: 104.3 kB / 0.6356 GB, free: 27.7 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002199/0.5229, allocations: 1.193 MB / 0.6367 GB, free: 27.39 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002442/0.5232, allocations: 332.3 kB / 0.6371 GB, free: 27.21 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004051/0.5236, allocations: 394.3 kB / 0.6374 GB, free: 27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00231/0.5259, allocations: 2.657 MB / 0.64 GB, free: 26.45 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.5259, allocations: 0 / 0.64 GB, free: 26.45 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.175e-06/0.5259, allocations: 4 kB / 0.64 GB, free: 26.45 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.825e-05/0.526, allocations: 0 / 0.64 GB, free: 26.45 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 353 * Number of variables: 353 Notification: Performance of Generate backend data structure: time 0.003589/0.5296, allocations: 2.097 MB / 0.6421 GB, free: 25.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.5296, allocations: 9.406 kB / 0.6421 GB, free: 25.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006754/0.5303, allocations: 299.6 kB / 0.6424 GB, free: 25.13 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002184/0.5325, allocations: 1.333 MB / 0.6437 GB, free: 24.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003721/0.5329, allocations: 195.2 kB / 0.6439 GB, free: 24.33 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/0.5331, allocations: 145.7 kB / 0.644 GB, free: 24.28 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002779/0.5359, allocations: 1.916 MB / 0.6459 GB, free: 23.49 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.671e-05/0.5359, allocations: 13.16 kB / 0.6459 GB, free: 23.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.536, allocations: 57.25 kB / 0.6459 GB, free: 23.44 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.232e-05/0.5361, allocations: 52.77 kB / 0.646 GB, free: 23.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002751/0.5388, allocations: 1.725 MB / 0.6477 GB, free: 22.89 MB / 0.4981 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.008679/0.5475, allocations: 6.449 MB / 0.654 GB, free: 18.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003937/0.5515, allocations: 2.256 MB / 0.6562 GB, free: 18.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001595/0.5531, allocations: 1.086 MB / 0.6572 GB, free: 17.74 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009948/0.5541, allocations: 1.432 MB / 0.6586 GB, free: 16.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.5542, allocations: 50.28 kB / 0.6587 GB, free: 16.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=136): time 2.976e-06/0.5542, allocations: 3.938 kB / 0.6587 GB, free: 16.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=136): time 0.004852/0.559, allocations: 2.594 MB / 0.6612 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.5591, allocations: 91.36 kB / 0.6613 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/0.5609, allocations: 1.126 MB / 0.6624 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.914e-05/0.561, allocations: 51.7 kB / 0.6625 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004167/0.5614, allocations: 0.6323 MB / 0.6631 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003517/0.5618, allocations: 492.5 kB / 0.6636 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.345e-05/0.5618, allocations: 25.62 kB / 0.6636 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.471e-05/0.5619, allocations: 362.1 kB / 0.6639 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/0.5631, allocations: 0.6941 MB / 0.6646 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.5644, allocations: 0.9011 MB / 0.6655 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.5657, allocations: 0.8484 MB / 0.6663 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.5657, allocations: 1.375 kB / 0.6663 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.003375/0.5691, allocations: 1.978 MB / 0.6682 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-05/0.5692, allocations: 210.4 kB / 0.6684 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.5692, allocations: 3.219 kB / 0.6684 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004211/0.5697, allocations: 137.2 kB / 0.6686 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/0.5711, allocations: 375.4 kB / 0.6689 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003366/0.5745, allocations: 3.641 MB / 0.6725 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.5761, allocations: 227.5 kB / 0.6727 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.5762, allocations: 51.44 kB / 0.6728 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.737e-06/0.5762, allocations: 4.375 kB / 0.6728 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003016/0.5792, allocations: 1.841 MB / 0.6746 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.5792, allocations: 3.875 kB / 0.6746 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003246/0.5796, allocations: 145.2 kB / 0.6747 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.5808, allocations: 369 kB / 0.675 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002745/0.5836, allocations: 3.641 MB / 0.6786 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001893/0.5855, allocations: 221.5 kB / 0.6788 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.5857, allocations: 51 kB / 0.6789 GB, free: 3.895 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (160): * Single equations (assignments): 158 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00125/0.5869, allocations: 0.5983 MB / 0.6794 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003023/0.5872, allocations: 137.1 kB / 0.6796 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003284/0.5905, allocations: 1.997 MB / 0.6815 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.181e-05/0.5905, allocations: 15.81 kB / 0.6815 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.5906, allocations: 2.562 kB / 0.6815 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/0.5906, allocations: 6.562 kB / 0.6816 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005816/0.5964, allocations: 3.981 MB / 0.6854 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.5964, allocations: 1.531 kB / 0.6854 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00131/0.5977, allocations: 344.3 kB / 0.6858 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002891/0.598, allocations: 124.5 kB / 0.6859 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.67e-05/0.5981, allocations: 47.31 kB / 0.6859 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00305/0.6012, allocations: 3.532 MB / 0.6894 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.6012, allocations: 5.297 kB / 0.6894 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004881/0.6061, allocations: 2.844 MB / 0.6922 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009275/0.6071, allocations: 418.8 kB / 0.6926 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/0.6072, allocations: 40.36 kB / 0.6926 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00096/0.6082, allocations: 144.1 kB / 0.6927 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/0.6084, allocations: 93.44 kB / 0.6928 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-05/0.6085, allocations: 39.86 kB / 0.6929 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001273/0.6098, allocations: 0.8115 MB / 0.6937 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6098, allocations: 0 / 0.6937 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002515/0.6123, allocations: 0.9731 MB / 0.6946 GB, free: 10.75 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 20 (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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007766/0.6131, allocations: 392.2 kB / 0.695 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004623/0.6177, allocations: 3.113 MB / 0.698 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.6178, allocations: 2.625 kB / 0.698 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001472/0.6192, allocations: 1.109 MB / 0.6991 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/0.6213, allocations: 439.7 kB / 0.6995 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007472/0.6288, allocations: 5.448 MB / 0.7049 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/0.6299, allocations: 1.572 MB / 0.7064 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001988/0.6319, allocations: 0.6935 MB / 0.7071 GB, free: 24 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003512/0.6323, allocations: 111.4 kB / 0.7072 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of SimCode: time 1.152e-06/0.6323, allocations: 0 / 0.7072 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of Templates: time 0.04274/0.675, allocations: 24.55 MB / 0.7311 GB, free: 7.633 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.pipe 2>&1)