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.0009747/0.0009747, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.313/1.313, allocations: 223.3 MB / 241 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.9175/0.9175, allocations: 135.3 MB / 427.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00042/0.0004203, allocations: 12.5 kB / 0.5082 GB, free: 4.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1521, allocations: 82.31 MB / 0.5886 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe): time 0.3226/0.4747, allocations: 32.87 MB / 0.6207 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01105/0.4859, allocations: 8.735 MB / 0.6292 GB, free: 30.25 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001656/0.4876, allocations: 46.28 kB / 0.6293 GB, free: 30.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.4889, allocations: 469.5 kB / 0.6297 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003352/0.4923, allocations: 1.192 MB / 0.6309 GB, free: 29.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002949/0.4953, allocations: 1.117 MB / 0.632 GB, free: 28.76 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003926/0.4992, allocations: 4.266 MB / 0.6362 GB, free: 26.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001861/0.5011, allocations: 1.588 MB / 0.6377 GB, free: 26.33 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00235/0.5034, allocations: 1.25 MB / 0.6389 GB, free: 25.79 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001666/0.5051, allocations: 1.092 MB / 0.64 GB, free: 25.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002114/0.5054, allocations: 97.88 kB / 0.6401 GB, free: 25.32 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002536/0.5079, allocations: 1.347 MB / 0.6414 GB, free: 24.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002916/0.5082, allocations: 343.6 kB / 0.6417 GB, free: 24.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001144/0.5094, allocations: 0.9499 MB / 0.6427 GB, free: 24.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002672/0.512, allocations: 2.697 MB / 0.6453 GB, free: 23.62 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5121, allocations: 2.719 kB / 0.6453 GB, free: 23.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.545e-06/0.5121, allocations: 0 / 0.6453 GB, free: 23.62 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.586e-05/0.5121, allocations: 0 / 0.6453 GB, free: 23.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.004167/0.5163, allocations: 2.076 MB / 0.6473 GB, free: 22.4 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.5163, allocations: 10.5 kB / 0.6473 GB, free: 22.4 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008859/0.5172, allocations: 303.6 kB / 0.6476 GB, free: 22.3 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002557/0.5198, allocations: 1.374 MB / 0.649 GB, free: 21.51 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004042/0.5202, allocations: 188.1 kB / 0.6491 GB, free: 21.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000233/0.5205, allocations: 155.3 kB / 0.6493 GB, free: 21.4 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003264/0.5237, allocations: 1.912 MB / 0.6512 GB, free: 20.62 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.483e-05/0.5238, allocations: 13.5 kB / 0.6512 GB, free: 20.62 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/0.524, allocations: 59.8 kB / 0.6512 GB, free: 20.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.946e-05/0.524, allocations: 52.47 kB / 0.6513 GB, free: 20.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003333/0.5274, allocations: 1.735 MB / 0.653 GB, free: 20.03 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.01003/0.5374, allocations: 6.461 MB / 0.6593 GB, free: 16.03 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004344/0.5418, allocations: 2.24 MB / 0.6615 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001774/0.5436, allocations: 1.083 MB / 0.6625 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001159/0.5448, allocations: 1.427 MB / 0.6639 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/0.5449, allocations: 55.03 kB / 0.664 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=136): time 3.336e-06/0.5449, allocations: 0 / 0.664 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=136): time 0.005532/0.5504, allocations: 2.605 MB / 0.6665 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.5505, allocations: 99.98 kB / 0.6666 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002002/0.5525, allocations: 1.134 MB / 0.6677 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.5526, allocations: 51.42 kB / 0.6678 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000425/0.5531, allocations: 0.6267 MB / 0.6684 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003792/0.5534, allocations: 495.7 kB / 0.6689 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.5536, allocations: 111.8 kB / 0.669 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.447e-05/0.5537, allocations: 357.7 kB / 0.6693 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/0.5549, allocations: 0.7029 MB / 0.67 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.5563, allocations: 0.9066 MB / 0.6709 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002598/0.5589, allocations: 1.676 MB / 0.6725 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.5589, allocations: 1.812 kB / 0.6725 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.003681/0.5626, allocations: 1.993 MB / 0.6745 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.5627, allocations: 210.6 kB / 0.6747 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.5628, allocations: 3.75 kB / 0.6747 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004683/0.5632, allocations: 140.1 kB / 0.6748 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/0.5646, allocations: 375 kB / 0.6752 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00313/0.5677, allocations: 3.636 MB / 0.6787 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/0.5695, allocations: 222.9 kB / 0.6789 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002443/0.5698, allocations: 51.14 kB / 0.679 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.5698, allocations: 3.844 kB / 0.679 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003936/0.5737, allocations: 1.852 MB / 0.6808 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.5738, allocations: 4.594 kB / 0.6808 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000398/0.5742, allocations: 148.6 kB / 0.6809 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.5756, allocations: 370.2 kB / 0.6813 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002991/0.5786, allocations: 3.642 MB / 0.6848 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/0.5805, allocations: 222.3 kB / 0.685 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000262/0.5808, allocations: 52.28 kB / 0.6851 GB, free: 0.5742 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 (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.001382/0.5822, allocations: 0.6021 MB / 0.6857 GB, free: 200 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006322/0.5828, allocations: 132.8 kB / 0.6858 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004553/0.5874, allocations: 2.003 MB / 0.6878 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.003e-05/0.5875, allocations: 15.77 kB / 0.6878 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/0.5875, allocations: 3.125 kB / 0.6878 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.368e-05/0.5875, allocations: 9.625 kB / 0.6878 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008809/0.5963, allocations: 3.971 MB / 0.6917 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/0.5964, allocations: 0 / 0.6917 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001414/0.5978, allocations: 353.5 kB / 0.692 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003535/0.5982, allocations: 126.5 kB / 0.6921 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/0.5983, allocations: 46.88 kB / 0.6922 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00331/0.6016, allocations: 3.544 MB / 0.6956 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.6017, allocations: 1.375 kB / 0.6956 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005415/0.6071, allocations: 2.868 MB / 0.6984 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/0.6083, allocations: 421.5 kB / 0.6988 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004129/0.6087, allocations: 36.23 kB / 0.6989 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/0.6101, allocations: 143.5 kB / 0.699 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002111/0.6103, allocations: 85.16 kB / 0.6991 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.6105, allocations: 45.48 kB / 0.6991 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001472/0.6119, allocations: 0.8198 MB / 0.6999 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.612, allocations: 0 / 0.6999 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003033/0.615, allocations: 0.9702 MB / 0.7009 GB, free: 6.969 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.0009677/0.616, allocations: 410.5 kB / 0.7013 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005204/0.6212, allocations: 3.118 MB / 0.7043 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.6212, allocations: 0 / 0.7043 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001696/0.6229, allocations: 1.118 MB / 0.7054 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002613/0.6256, allocations: 440.1 kB / 0.7058 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007981/0.6336, allocations: 5.543 MB / 0.7112 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/0.6347, allocations: 1.54 MB / 0.7127 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006073/0.6354, allocations: 119.4 kB / 0.7129 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of SimCode: time 9.32e-07/0.6354, allocations: 0 / 0.7129 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of Templates: time 0.05297/0.6883, allocations: 40.93 MB / 0.7528 GB, free: 2.094 MB / 0.5606 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)