Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_RadiantSlab_Examples_EmbeddedPipeExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_RadiantSlab_Examples_EmbeddedPipeExample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009933/0.0009933, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007821/0.007821, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.247/1.247, 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/package.mo): time 0.7157/0.7157, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000314/0.000314, allocations: 8 kB / 0.5041 GB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3685, allocations: 81.57 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample): time 0.03087/0.3994, allocations: 30.39 MB / 0.6134 GB, free: 13.5 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01183/0.4113, allocations: 8.461 MB / 0.6217 GB, free: 6.668 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.4126, allocations: 38.31 kB / 0.6217 GB, free: 6.652 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.4138, allocations: 409.8 kB / 0.6221 GB, free: 6.316 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003707/0.4175, allocations: 1.32 MB / 0.6234 GB, free: 5.281 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002766/0.4203, allocations: 1.011 MB / 0.6244 GB, free: 4.543 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005367/0.4257, allocations: 4.679 MB / 0.629 GB, free: 1.965 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001659/0.4274, allocations: 1.203 MB / 0.6301 GB, free: 0.793 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002354/0.4297, allocations: 1.089 MB / 0.6312 GB, free: 15.7 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001677/0.4314, allocations: 0.976 MB / 0.6322 GB, free: 14.72 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002234/0.4317, allocations: 55.94 kB / 0.6322 GB, free: 14.66 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002459/0.4341, allocations: 1.127 MB / 0.6333 GB, free: 13.54 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002895/0.4344, allocations: 266.8 kB / 0.6336 GB, free: 13.27 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008178/0.4352, allocations: 0.6934 MB / 0.6342 GB, free: 12.57 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002745/0.438, allocations: 2.438 MB / 0.6366 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.438, allocations: 0 / 0.6366 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.438, allocations: 0 / 0.6366 GB, free: 10.12 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.552e-05/0.438, allocations: 0 / 0.6366 GB, free: 10.12 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002967/0.441, allocations: 1.652 MB / 0.6382 GB, free: 8.414 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/0.4411, allocations: 8.031 kB / 0.6382 GB, free: 8.406 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002049/0.4413, allocations: 139.3 kB / 0.6384 GB, free: 8.262 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004236/0.4417, allocations: 170.5 kB / 0.6385 GB, free: 8.094 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002331/0.4441, allocations: 1.355 MB / 0.6399 GB, free: 6.68 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/0.4441, allocations: 69.98 kB / 0.6399 GB, free: 6.613 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.4443, allocations: 91.98 kB / 0.64 GB, free: 6.523 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/0.4462, allocations: 1.189 MB / 0.6412 GB, free: 5.285 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.4462, allocations: 3.984 kB / 0.6412 GB, free: 5.281 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.015e-05/0.4463, allocations: 36 kB / 0.6412 GB, free: 5.246 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.084e-05/0.4464, allocations: 37.94 kB / 0.6413 GB, free: 5.211 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/0.4481, allocations: 0.9406 MB / 0.6422 GB, free: 4.266 MB / 478.1 MB 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.005442/0.4535, allocations: 5.124 MB / 0.6472 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.455, allocations: 0.7056 MB / 0.6479 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006191/0.4557, allocations: 363.7 kB / 0.6482 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001195/0.4569, allocations: 1.425 MB / 0.6496 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007758/0.4577, allocations: 423.3 kB / 0.65 GB, free: 11.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=56): time 2.655e-06/0.4577, allocations: 3.938 kB / 0.65 GB, free: 11.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=56): time 0.002578/0.4603, allocations: 1.247 MB / 0.6512 GB, free: 10.26 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.4603, allocations: 63.95 kB / 0.6513 GB, free: 10.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.4617, allocations: 1.036 MB / 0.6523 GB, free: 9.129 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.609e-05/0.4618, allocations: 37.7 kB / 0.6523 GB, free: 9.086 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004541/0.4622, allocations: 0.5619 MB / 0.6529 GB, free: 8.516 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/0.4624, allocations: 197.2 kB / 0.6531 GB, free: 8.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.3e-05/0.4625, allocations: 57.69 kB / 0.6531 GB, free: 8.258 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.4626, allocations: 334 kB / 0.6534 GB, free: 7.926 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005711/0.4632, allocations: 289.1 kB / 0.6537 GB, free: 7.645 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006673/0.4639, allocations: 455.2 kB / 0.6542 GB, free: 7.145 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.4651, allocations: 0.7724 MB / 0.6549 GB, free: 6.316 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.4651, allocations: 0 / 0.6549 GB, free: 6.316 MB / 494.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001849/0.467, allocations: 0.977 MB / 0.6559 GB, free: 5.316 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001336/0.4671, allocations: 231.2 kB / 0.6561 GB, free: 5.031 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.4671, allocations: 7.938 kB / 0.6561 GB, free: 5.023 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002851/0.4674, allocations: 77.67 kB / 0.6562 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005669/0.468, allocations: 143.8 kB / 0.6563 GB, free: 4.801 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00219/0.4702, allocations: 2.9 MB / 0.6591 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009397/0.4712, allocations: 127.3 kB / 0.6593 GB, free: 1.492 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.867e-05/0.4712, allocations: 28 kB / 0.6593 GB, free: 1.465 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/0.4713, allocations: 7.938 kB / 0.6593 GB, free: 1.457 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001606/0.4729, allocations: 0.8676 MB / 0.6601 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.4729, allocations: 8 kB / 0.6601 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001979/0.4731, allocations: 65.67 kB / 0.6602 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/0.4737, allocations: 155.9 kB / 0.6604 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002028/0.4757, allocations: 2.892 MB / 0.6632 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000907/0.4766, allocations: 127.4 kB / 0.6633 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.43e-05/0.4767, allocations: 27.98 kB / 0.6633 GB, free: 13.03 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: 5 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 1 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000676/0.4774, allocations: 0.4967 MB / 0.6638 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.4776, allocations: 110.7 kB / 0.6639 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001963/0.4796, allocations: 0.9576 MB / 0.6649 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.4796, allocations: 15.94 kB / 0.6649 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4796, allocations: 4 kB / 0.6649 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001365/0.481, allocations: 0.8237 MB / 0.6657 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00354/0.4845, allocations: 2.15 MB / 0.6678 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.4845, allocations: 3.938 kB / 0.6678 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005045/0.4851, allocations: 119.9 kB / 0.6679 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001611/0.4852, allocations: 57.7 kB / 0.668 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.285e-05/0.4853, allocations: 27.94 kB / 0.668 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/0.4871, allocations: 2.73 MB / 0.6706 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4871, allocations: 0 / 0.6706 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/0.4894, allocations: 1.367 MB / 0.672 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000548/0.49, allocations: 303.5 kB / 0.6723 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/0.4901, allocations: 16 kB / 0.6723 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008843/0.491, allocations: 103.7 kB / 0.6724 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.4912, allocations: 60.42 kB / 0.6724 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.55e-05/0.4912, allocations: 23.98 kB / 0.6725 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0011/0.4923, allocations: 0.7333 MB / 0.6732 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4923, allocations: 0 / 0.6732 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001851/0.4942, allocations: 0.682 MB / 0.6738 GB, free: 1.789 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (embeddedPipe.vol[1].dynBal.U,embeddedPipe.vol[2].dynBal.U,senTem.T) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003381/0.4976, allocations: 2.215 MB / 0.676 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002707/0.5003, allocations: 1.696 MB / 0.6777 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.5003, allocations: 0.5 kB / 0.6777 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008566/0.5012, allocations: 0.6058 MB / 0.6783 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002907/0.5041, allocations: 0.5357 MB / 0.6788 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01649/0.5206, allocations: 9.974 MB / 0.6885 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009053/0.5216, allocations: 1.31 MB / 0.6898 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001261/0.5228, allocations: 399.8 kB / 0.6902 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006097/0.5235, allocations: 459.3 kB / 0.6906 GB, free: 88 kB / 0.5137 GB Notification: Performance of SimCode: time 7.32e-07/0.5235, allocations: 3.938 kB / 0.6906 GB, free: 84 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7319/1.255, allocations: 33.55 MB / 0.7234 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003892/1.256, allocations: 273.7 kB / 0.7237 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.519/3.775, allocations: 0 / 0.7237 GB, free: 14.65 MB / 0.5606 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_RadiantSlab_Examples_EmbeddedPipeExample_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_RadiantSlab_Examples_EmbeddedPipeExample.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.pipe 2>&1)