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.0009979/0.0009979, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007231/0.007231, allocations: 169.9 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9968/0.9968, allocations: 135.3 MB / 426.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003235, allocations: 8 kB / 0.5076 GB, free: 4.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1671, allocations: 82.31 MB / 0.588 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe): time 0.3348/0.5019, allocations: 32.87 MB / 0.6201 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01214/0.5141, allocations: 8.744 MB / 0.6286 GB, free: 30.23 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001789/0.5159, allocations: 41.62 kB / 0.6286 GB, free: 30.22 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.5174, allocations: 477.9 kB / 0.6291 GB, free: 30.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003319/0.5207, allocations: 1.177 MB / 0.6302 GB, free: 29.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002896/0.5236, allocations: 1.117 MB / 0.6313 GB, free: 28.79 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003905/0.5275, allocations: 4.265 MB / 0.6355 GB, free: 27.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001822/0.5294, allocations: 1.589 MB / 0.6371 GB, free: 26.36 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001999/0.5314, allocations: 1.247 MB / 0.6383 GB, free: 25.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.5327, allocations: 1.095 MB / 0.6393 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001935/0.5329, allocations: 98.06 kB / 0.6394 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002366/0.5353, allocations: 1.354 MB / 0.6408 GB, free: 24.95 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000272/0.5356, allocations: 346.3 kB / 0.6411 GB, free: 24.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009037/0.5365, allocations: 0.9468 MB / 0.642 GB, free: 24.2 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003199/0.5397, allocations: 3.337 MB / 0.6453 GB, free: 23.3 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.5397, allocations: 0 / 0.6453 GB, free: 23.3 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5397, allocations: 0 / 0.6453 GB, free: 23.3 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.89e-05/0.5397, allocations: 0 / 0.6453 GB, free: 23.3 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.00393/0.5437, allocations: 2.075 MB / 0.6473 GB, free: 22.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.5437, allocations: 7.969 kB / 0.6473 GB, free: 22.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007354/0.5445, allocations: 307.1 kB / 0.6476 GB, free: 21.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002267/0.5467, allocations: 1.381 MB / 0.6489 GB, free: 21.19 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004023/0.5472, allocations: 189.1 kB / 0.6491 GB, free: 21.14 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002218/0.5474, allocations: 147.5 kB / 0.6493 GB, free: 21.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003272/0.5507, allocations: 1.918 MB / 0.6511 GB, free: 20.31 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-05/0.5508, allocations: 14.56 kB / 0.6512 GB, free: 20.3 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/0.5509, allocations: 64.7 kB / 0.6512 GB, free: 20.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.035e-05/0.551, allocations: 53.2 kB / 0.6513 GB, free: 20.24 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003488/0.5545, allocations: 1.732 MB / 0.653 GB, free: 19.71 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.009398/0.5639, allocations: 6.453 MB / 0.6593 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003936/0.5678, allocations: 2.244 MB / 0.6614 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001625/0.5695, allocations: 1.081 MB / 0.6625 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/0.5706, allocations: 1.431 MB / 0.6639 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.5706, allocations: 54.84 kB / 0.664 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=136): time 3.336e-06/0.5706, allocations: 0 / 0.664 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=136): time 0.005117/0.5757, allocations: 2.609 MB / 0.6665 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.5758, allocations: 96.2 kB / 0.6666 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/0.5777, allocations: 1.13 MB / 0.6677 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.5778, allocations: 47.2 kB / 0.6677 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003809/0.5782, allocations: 0.6315 MB / 0.6684 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003354/0.5785, allocations: 498.1 kB / 0.6688 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.5787, allocations: 112.4 kB / 0.6689 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.5788, allocations: 358.3 kB / 0.6693 GB, free: 10 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/0.58, allocations: 0.7035 MB / 0.67 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/0.5813, allocations: 0.9091 MB / 0.6709 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002473/0.5838, allocations: 1.675 MB / 0.6725 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.493e-06/0.5838, allocations: 1.312 kB / 0.6725 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.003631/0.5874, allocations: 1.991 MB / 0.6744 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.927e-05/0.5875, allocations: 214.2 kB / 0.6746 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.5876, allocations: 6.797 kB / 0.6746 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004272/0.588, allocations: 138.1 kB / 0.6748 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/0.5893, allocations: 372.6 kB / 0.6751 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002904/0.5923, allocations: 3.648 MB / 0.6787 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/0.5942, allocations: 222.9 kB / 0.6789 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/0.5943, allocations: 50.64 kB / 0.679 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.5943, allocations: 3.75 kB / 0.679 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003268/0.5976, allocations: 1.852 MB / 0.6808 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.5976, allocations: 5.328 kB / 0.6808 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003578/0.598, allocations: 144.5 kB / 0.6809 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.5993, allocations: 369.5 kB / 0.6813 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002739/0.6021, allocations: 3.644 MB / 0.6848 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/0.6038, allocations: 222.3 kB / 0.685 GB, free: 272 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000159/0.604, allocations: 49.73 kB / 0.6851 GB, free: 260 kB / 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001387/0.6054, allocations: 0.6092 MB / 0.6857 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005421/0.6059, allocations: 133.3 kB / 0.6858 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003827/0.6098, allocations: 1.991 MB / 0.6878 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.581e-05/0.6098, allocations: 19.84 kB / 0.6878 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.6098, allocations: 2.281 kB / 0.6878 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.675e-05/0.6099, allocations: 9.922 kB / 0.6878 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006826/0.6167, allocations: 3.967 MB / 0.6917 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.6167, allocations: 1.219 kB / 0.6917 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/0.6182, allocations: 345.2 kB / 0.692 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003248/0.6185, allocations: 136.2 kB / 0.6921 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.863e-05/0.6186, allocations: 45.38 kB / 0.6922 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003088/0.6217, allocations: 3.532 MB / 0.6956 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.6217, allocations: 9.469 kB / 0.6956 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004655/0.6264, allocations: 2.862 MB / 0.6984 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009273/0.6273, allocations: 420.8 kB / 0.6988 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/0.6275, allocations: 38.64 kB / 0.6989 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.6286, allocations: 148.4 kB / 0.699 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001955/0.6288, allocations: 81.03 kB / 0.6991 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.525e-05/0.6289, allocations: 44.36 kB / 0.6991 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001256/0.6302, allocations: 0.8265 MB / 0.6999 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6302, allocations: 3.938 kB / 0.6999 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002649/0.6329, allocations: 0.966 MB / 0.7009 GB, free: 6.551 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008705/0.6338, allocations: 411.8 kB / 0.7013 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005079/0.6388, allocations: 3.128 MB / 0.7043 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6389, allocations: 0 / 0.7043 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001554/0.6404, allocations: 1.118 MB / 0.7054 GB, free: 2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/0.6428, allocations: 426.9 kB / 0.7058 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007986/0.6508, allocations: 5.563 MB / 0.7112 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/0.652, allocations: 1.576 MB / 0.7128 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001986/0.654, allocations: 0.6967 MB / 0.7135 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003452/0.6543, allocations: 107.4 kB / 0.7136 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of SimCode: time 2.896e-06/0.6543, allocations: 0 / 0.7136 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of Templates: time 0.04224/0.6966, allocations: 25.26 MB / 0.7382 GB, free: 0.582 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)