Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe") translateModel(IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0009314/0.0009314, allocations: 99.86 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.0008473/0.0008473, allocations: 177.3 kB / 15.94 MB, free: 228 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.21/1.21, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8431/0.8431, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003085/0.0003086, allocations: 9.844 kB / 0.5068 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1474, allocations: 82.32 MB / 0.5872 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe): time 0.2796/0.4271, allocations: 28.22 MB / 0.6147 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008321/0.4354, allocations: 7.675 MB / 0.6222 GB, free: 33.24 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008434/0.4363, allocations: 41.28 kB / 0.6223 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.4374, allocations: 0.5116 MB / 0.6228 GB, free: 33.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002661/0.4401, allocations: 1.397 MB / 0.6241 GB, free: 32.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002679/0.4427, allocations: 1.288 MB / 0.6254 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002105/0.4449, allocations: 2.32 MB / 0.6277 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/0.446, allocations: 1.449 MB / 0.6291 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001292/0.4474, allocations: 1.132 MB / 0.6302 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007841/0.4481, allocations: 0.8935 MB / 0.6311 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.4483, allocations: 102.4 kB / 0.6312 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.4499, allocations: 1.086 MB / 0.6322 GB, free: 29.57 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002043/0.4501, allocations: 337.5 kB / 0.6325 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002535/0.4504, allocations: 391.8 kB / 0.6329 GB, free: 29.17 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00166/0.4521, allocations: 2.622 MB / 0.6355 GB, free: 28.62 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.4521, allocations: 0 / 0.6355 GB, free: 28.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4521, allocations: 0 / 0.6355 GB, free: 28.62 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.554e-05/0.4521, allocations: 2.781 kB / 0.6355 GB, free: 28.62 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.003178/0.4553, allocations: 2.079 MB / 0.6375 GB, free: 27.42 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/0.4553, allocations: 13.84 kB / 0.6375 GB, free: 27.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006218/0.456, allocations: 303.5 kB / 0.6378 GB, free: 27.31 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/0.4579, allocations: 1.279 MB / 0.6391 GB, free: 26.58 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000372/0.4582, allocations: 196.7 kB / 0.6392 GB, free: 26.53 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.4584, allocations: 144.8 kB / 0.6394 GB, free: 26.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002284/0.4607, allocations: 1.895 MB / 0.6412 GB, free: 25.7 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.081e-05/0.4608, allocations: 16.7 kB / 0.6413 GB, free: 25.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.4609, allocations: 57.78 kB / 0.6413 GB, free: 25.65 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-05/0.4609, allocations: 49.56 kB / 0.6414 GB, free: 25.65 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002276/0.4632, allocations: 1.736 MB / 0.6431 GB, free: 25.1 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.006733/0.4699, allocations: 6.481 MB / 0.6494 GB, free: 21.1 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003827/0.4738, allocations: 2.268 MB / 0.6516 GB, free: 20.33 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009121/0.4747, allocations: 1.43 MB / 0.653 GB, free: 18.72 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.4747, allocations: 50.5 kB / 0.653 GB, free: 18.67 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=136): time 3.126e-06/0.4748, allocations: 0 / 0.653 GB, free: 18.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=136): time 0.004588/0.4793, allocations: 2.606 MB / 0.6556 GB, free: 17.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.4794, allocations: 92.56 kB / 0.6557 GB, free: 17.56 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.4809, allocations: 1.149 MB / 0.6568 GB, free: 17.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.198e-05/0.481, allocations: 47.89 kB / 0.6568 GB, free: 17.04 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003518/0.4813, allocations: 0.6346 MB / 0.6575 GB, free: 16.54 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002885/0.4816, allocations: 490.7 kB / 0.6579 GB, free: 16.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.346e-05/0.4817, allocations: 25.69 kB / 0.658 GB, free: 16.14 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.184e-05/0.4818, allocations: 367.3 kB / 0.6583 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.4828, allocations: 0.6944 MB / 0.659 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.484, allocations: 0.9032 MB / 0.6599 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.4852, allocations: 0.8487 MB / 0.6607 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.4853, allocations: 2.469 kB / 0.6607 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.00294/0.4882, allocations: 1.982 MB / 0.6626 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002173/0.4884, allocations: 1.489 MB / 0.6641 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.4884, allocations: 4.469 kB / 0.6641 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003886/0.4888, allocations: 144.7 kB / 0.6642 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.4901, allocations: 378 kB / 0.6646 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002521/0.4926, allocations: 3.674 MB / 0.6682 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.4938, allocations: 226.8 kB / 0.6684 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.959e-05/0.4939, allocations: 55.75 kB / 0.6684 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/0.4939, allocations: 5.719 kB / 0.6685 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002677/0.4966, allocations: 1.847 MB / 0.6703 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.4966, allocations: 3.766 kB / 0.6703 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003048/0.497, allocations: 140.8 kB / 0.6704 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.4982, allocations: 373.7 kB / 0.6707 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/0.5006, allocations: 3.678 MB / 0.6743 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.5018, allocations: 222.7 kB / 0.6746 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.5019, allocations: 54.72 kB / 0.6746 GB, free: 5.094 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.0008388/0.5027, allocations: 0.5903 MB / 0.6752 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002681/0.503, allocations: 133.2 kB / 0.6753 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003198/0.5062, allocations: 1.995 MB / 0.6773 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/0.5062, allocations: 15.45 kB / 0.6773 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.5063, allocations: 2.438 kB / 0.6773 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/0.5063, allocations: 6.656 kB / 0.6773 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005948/0.5122, allocations: 3.988 MB / 0.6812 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.5122, allocations: 2.047 kB / 0.6812 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/0.5136, allocations: 342.7 kB / 0.6815 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003044/0.5139, allocations: 133.4 kB / 0.6816 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/0.514, allocations: 44.39 kB / 0.6817 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002784/0.5168, allocations: 3.566 MB / 0.6852 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5168, allocations: 1 kB / 0.6852 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004147/0.521, allocations: 2.891 MB / 0.688 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000855/0.5218, allocations: 432.4 kB / 0.6884 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002702/0.5221, allocations: 40.48 kB / 0.6884 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.5233, allocations: 144.4 kB / 0.6886 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.5234, allocations: 89.19 kB / 0.6887 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.38e-05/0.5235, allocations: 40.7 kB / 0.6887 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001294/0.5248, allocations: 0.8328 MB / 0.6895 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5248, allocations: 0 / 0.6895 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002753/0.5276, allocations: 0.9855 MB / 0.6905 GB, free: 12.55 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.0008137/0.5284, allocations: 419.5 kB / 0.6909 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004809/0.5332, allocations: 3.123 MB / 0.6939 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5333, allocations: 0 / 0.6939 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001508/0.5348, allocations: 1.104 MB / 0.695 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/0.5365, allocations: 409.8 kB / 0.6954 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007214/0.5438, allocations: 5.422 MB / 0.7007 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/0.545, allocations: 1.603 MB / 0.7022 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001743/0.5468, allocations: 0.6974 MB / 0.7029 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003224/0.5471, allocations: 107.4 kB / 0.703 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/0.5471, allocations: 0 / 0.703 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of Templates: time 0.03601/0.5832, allocations: 24.99 MB / 0.7274 GB, free: 10.7 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.pipe 2>&1) Environment - environmentSimulation: