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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.805/0.805, allocations: 133.6 MB / 141.6 MB, free: 2.918 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 221.5 MB / 395.5 MB, free: 10.76 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009268/0.0009268, allocations: 104.2 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.825e-05/1.859e-05, allocations: 4 kB / 0.5535 GB, free: 9.047 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4705/0.4705, allocations: 82.3 MB / 0.6338 GB, free: 40.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8608/1.331, allocations: 376.3 MB / 1.001 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/1.332, allocations: 90.64 kB / 1.001 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.582/2.914, allocations: 354 MB / 1.347 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.705e-06/2.914, allocations: 3.156 kB / 1.347 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002714/2.914, allocations: 41.39 kB / 1.347 GB, free: 147.4 MB / 0.6823 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.005824/2.92, allocations: 1.857 MB / 1.349 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/2.92, allocations: 11.22 kB / 1.349 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001553/2.922, allocations: 274.4 kB / 1.349 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0153/2.937, allocations: 4.399 MB / 1.354 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/2.937, allocations: 55.14 kB / 1.354 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006076/2.938, allocations: 88.72 kB / 1.354 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004183/2.942, allocations: 1.388 MB / 1.355 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003965/2.946, allocations: 1.54 MB / 1.357 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001139/2.946, allocations: 19.89 kB / 1.357 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002052/2.946, allocations: 2.75 kB / 1.357 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-05/2.947, allocations: 47.75 kB / 1.357 GB, free: 146.1 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.01044/2.957, allocations: 6.177 MB / 1.363 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002877/2.96, allocations: 1.94 MB / 1.365 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/2.961, allocations: 0.9512 MB / 1.365 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/2.962, allocations: 1.433 MB / 1.367 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/2.962, allocations: 54.12 kB / 1.367 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=136): time 3.957e-06/2.962, allocations: 0 / 1.367 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=136): time 0.003139/2.965, allocations: 1.54 MB / 1.368 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/2.965, allocations: 96.2 kB / 1.369 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001863/2.967, allocations: 0.8917 MB / 1.369 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001102/2.967, allocations: 29.67 kB / 1.369 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000484/2.968, allocations: 0.6279 MB / 1.37 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004212/2.968, allocations: 477.7 kB / 1.37 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.173e-05/2.968, allocations: 6.094 kB / 1.37 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001255/2.969, allocations: 361.3 kB / 1.371 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007953/2.969, allocations: 0.5855 MB / 1.371 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009187/2.97, allocations: 0.8036 MB / 1.372 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/2.972, allocations: 0.8097 MB / 1.373 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/2.972, allocations: 3.812 kB / 1.373 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.003407/2.975, allocations: 1.823 MB / 1.375 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004167/2.976, allocations: 1.49 MB / 1.376 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/2.976, allocations: 3.062 kB / 1.376 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006087/2.976, allocations: 215.6 kB / 1.376 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/2.977, allocations: 351.8 kB / 1.377 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003462/2.981, allocations: 4.28 MB / 1.381 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/2.982, allocations: 179.8 kB / 1.381 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/2.983, allocations: 58.3 kB / 1.381 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/2.983, allocations: 4.5 kB / 1.381 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002876/2.986, allocations: 1.65 MB / 1.383 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/2.986, allocations: 7.656 kB / 1.383 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004874/2.986, allocations: 220.1 kB / 1.383 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/2.987, allocations: 352.1 kB / 1.383 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003065/2.99, allocations: 4.288 MB / 1.388 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/2.992, allocations: 173.4 kB / 1.388 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/2.992, allocations: 50.47 kB / 1.388 GB, free: 132.1 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: embeddedPipe.vol[1].heatPort.Q_flow:VARIABLE(flow=true unit = "W" ) "Heat flow rate (positive if flowing from outside into the component)" type: Real [1] 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 154 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {1 2,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003716/2.992, allocations: 131.5 kB / 1.388 GB, free: 132 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004559/2.993, allocations: 134.8 kB / 1.388 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003117/2.996, allocations: 1.753 MB / 1.39 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/2.996, allocations: 18.31 kB / 1.39 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/2.996, allocations: 6.781 kB / 1.39 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/2.996, allocations: 7.219 kB / 1.39 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005837/3.002, allocations: 3.57 MB / 1.393 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/3.002, allocations: 3.391 kB / 1.393 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/3.003, allocations: 326.8 kB / 1.394 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004895/3.004, allocations: 206 kB / 1.394 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001148/3.004, allocations: 29.36 kB / 1.394 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00294/3.007, allocations: 4.139 MB / 1.398 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/3.007, allocations: 3.344 kB / 1.398 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004057/3.011, allocations: 2.674 MB / 1.4 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009499/3.012, allocations: 412.3 kB / 1.401 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003588/3.012, allocations: 17.95 kB / 1.401 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/3.014, allocations: 106.3 kB / 1.401 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/3.014, allocations: 89.88 kB / 1.401 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.413e-05/3.014, allocations: 46.72 kB / 1.401 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001085/3.015, allocations: 0.7068 MB / 1.402 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.2e-07/3.015, allocations: 0 / 1.402 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003865/3.019, allocations: 0.966 MB / 1.403 GB, free: 127.3 MB / 0.6823 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 121 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {1 2,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001611/3.02, allocations: 0.6258 MB / 1.403 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003978/3.024, allocations: 2.838 MB / 1.406 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/3.024, allocations: 3.25 kB / 1.406 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/3.026, allocations: 1.001 MB / 1.407 GB, free: 126.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00215/3.028, allocations: 368.5 kB / 1.407 GB, free: 126.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007314/3.035, allocations: 3.937 MB / 1.411 GB, free: 125.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/3.036, allocations: 1.607 MB / 1.413 GB, free: 125 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002568/3.039, allocations: 0.8473 MB / 1.414 GB, free: 125 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002307/3.039, allocations: 92.44 kB / 1.414 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.713e-06/3.039, allocations: 0 / 1.414 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.0423/3.082, allocations: 26.67 MB / 1.44 GB, free: 123.5 MB / 0.6823 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)