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.000844/0.000844, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0008737/0.0008736, allocations: 177.3 kB / 15.95 MB, free: 216 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.174/1.174, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8387/0.8387, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002856/0.0002856, allocations: 17.44 kB / 0.5068 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1353, allocations: 82.31 MB / 0.5872 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe): time 0.2838/0.4191, allocations: 28.23 MB / 0.6148 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009332/0.4285, allocations: 7.66 MB / 0.6222 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/0.43, allocations: 46.06 kB / 0.6223 GB, free: 33.26 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.4312, allocations: 0.5146 MB / 0.6228 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003439/0.4347, allocations: 1.396 MB / 0.6242 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003065/0.4377, allocations: 1.285 MB / 0.6254 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00269/0.4404, allocations: 2.33 MB / 0.6277 GB, free: 31.31 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001384/0.4418, allocations: 1.44 MB / 0.6291 GB, free: 30.78 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001548/0.4434, allocations: 1.139 MB / 0.6302 GB, free: 30.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008562/0.4443, allocations: 0.892 MB / 0.6311 GB, free: 29.86 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.4444, allocations: 99.5 kB / 0.6312 GB, free: 29.86 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001865/0.4463, allocations: 1.092 MB / 0.6322 GB, free: 29.61 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002272/0.4465, allocations: 335.9 kB / 0.6326 GB, free: 29.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003234/0.4468, allocations: 393.7 kB / 0.6329 GB, free: 29.21 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00184/0.4487, allocations: 2.616 MB / 0.6355 GB, free: 28.67 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.4487, allocations: 0 / 0.6355 GB, free: 28.67 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4487, allocations: 3.938 kB / 0.6355 GB, free: 28.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.176e-05/0.4487, allocations: 4 kB / 0.6355 GB, free: 28.66 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.003421/0.4522, allocations: 2.075 MB / 0.6375 GB, free: 27.46 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.4522, allocations: 8.406 kB / 0.6375 GB, free: 27.46 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006615/0.4529, allocations: 298.2 kB / 0.6378 GB, free: 27.36 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002134/0.455, allocations: 1.283 MB / 0.6391 GB, free: 26.64 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004066/0.4554, allocations: 195.5 kB / 0.6393 GB, free: 26.58 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/0.4556, allocations: 147.2 kB / 0.6394 GB, free: 26.53 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002448/0.4581, allocations: 1.898 MB / 0.6412 GB, free: 25.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.171e-05/0.4581, allocations: 12.23 kB / 0.6413 GB, free: 25.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.4583, allocations: 58.06 kB / 0.6413 GB, free: 25.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.011e-05/0.4583, allocations: 55.62 kB / 0.6414 GB, free: 25.69 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002393/0.4607, allocations: 1.73 MB / 0.6431 GB, free: 25.15 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.007031/0.4677, allocations: 6.476 MB / 0.6494 GB, free: 21.15 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003766/0.4715, allocations: 2.276 MB / 0.6516 GB, free: 20.38 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009323/0.4725, allocations: 1.43 MB / 0.653 GB, free: 18.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.4725, allocations: 50.77 kB / 0.653 GB, free: 18.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=136): time 2.965e-06/0.4725, allocations: 4 kB / 0.6531 GB, free: 18.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=136): time 0.004658/0.4772, allocations: 2.598 MB / 0.6556 GB, free: 17.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.4772, allocations: 96.23 kB / 0.6557 GB, free: 17.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001547/0.4788, allocations: 1.15 MB / 0.6568 GB, free: 17.13 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.976e-05/0.4789, allocations: 47.14 kB / 0.6568 GB, free: 17.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003543/0.4792, allocations: 0.6344 MB / 0.6575 GB, free: 16.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003035/0.4796, allocations: 488.2 kB / 0.6579 GB, free: 16.21 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/0.4796, allocations: 29.5 kB / 0.658 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.581e-05/0.4797, allocations: 366.4 kB / 0.6583 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.4808, allocations: 0.7016 MB / 0.659 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/0.482, allocations: 0.9005 MB / 0.6599 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.4832, allocations: 0.8522 MB / 0.6607 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.4832, allocations: 1.969 kB / 0.6607 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.00322/0.4864, allocations: 1.978 MB / 0.6626 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002284/0.4867, allocations: 1.496 MB / 0.6641 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.4867, allocations: 7.828 kB / 0.6641 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004006/0.4871, allocations: 141 kB / 0.6642 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.4883, allocations: 370.7 kB / 0.6646 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002564/0.4909, allocations: 3.669 MB / 0.6682 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.4923, allocations: 227.4 kB / 0.6684 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.882e-05/0.4924, allocations: 54.78 kB / 0.6685 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.933e-06/0.4924, allocations: 3.062 kB / 0.6685 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002946/0.4954, allocations: 1.846 MB / 0.6703 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.4954, allocations: 4.891 kB / 0.6703 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003332/0.4957, allocations: 136.3 kB / 0.6704 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.497, allocations: 378.7 kB / 0.6708 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002568/0.4996, allocations: 3.674 MB / 0.6743 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/0.5012, allocations: 226 kB / 0.6746 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.974e-05/0.5013, allocations: 47.91 kB / 0.6746 GB, free: 5.152 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.0009847/0.5023, allocations: 0.5985 MB / 0.6752 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002518/0.5025, allocations: 141.1 kB / 0.6753 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003145/0.5057, allocations: 1.984 MB / 0.6773 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/0.5057, allocations: 14.36 kB / 0.6773 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.5057, allocations: 6.5 kB / 0.6773 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/0.5057, allocations: 8.328 kB / 0.6773 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005716/0.5115, allocations: 3.993 MB / 0.6812 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.5115, allocations: 1.25 kB / 0.6812 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001246/0.5127, allocations: 342.3 kB / 0.6815 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002887/0.513, allocations: 129.8 kB / 0.6816 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.889e-05/0.5131, allocations: 47.38 kB / 0.6817 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002719/0.5159, allocations: 3.565 MB / 0.6852 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5159, allocations: 1.031 kB / 0.6852 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004172/0.5201, allocations: 2.893 MB / 0.688 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008198/0.5209, allocations: 433.5 kB / 0.6884 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/0.5211, allocations: 34.89 kB / 0.6884 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.5221, allocations: 147.9 kB / 0.6886 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.5223, allocations: 86.59 kB / 0.6887 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.988e-05/0.5223, allocations: 44.09 kB / 0.6887 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001164/0.5235, allocations: 0.8331 MB / 0.6895 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.01e-07/0.5235, allocations: 0 / 0.6895 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00235/0.5259, allocations: 0.9765 MB / 0.6905 GB, free: 12.61 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.000712/0.5266, allocations: 421.6 kB / 0.6909 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004447/0.5311, allocations: 3.12 MB / 0.6939 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5311, allocations: 5.188 kB / 0.6939 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001363/0.5324, allocations: 1.104 MB / 0.695 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.5341, allocations: 413.4 kB / 0.6954 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006373/0.5405, allocations: 5.417 MB / 0.7007 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/0.5415, allocations: 1.603 MB / 0.7023 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001605/0.5431, allocations: 0.6974 MB / 0.7029 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000305/0.5434, allocations: 115.4 kB / 0.703 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of SimCode: time 6.42e-07/0.5434, allocations: 0 / 0.703 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of Templates: time 0.03534/0.5788, allocations: 24.99 MB / 0.7274 GB, free: 10.72 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: