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.000753/0.000753, allocations: 92 kB / 15.06 MB, free: 1.098 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.0008196/0.0008196, allocations: 172.7 kB / 15.95 MB, free: 208 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.297/1.297, allocations: 223.3 MB / 240 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6957/0.6957, allocations: 132.3 MB / 423.4 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000283/0.000283, allocations: 8.969 kB / 0.5035 GB, free: 4.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3328, allocations: 81.57 MB / 0.5832 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample): time 0.02705/0.3599, allocations: 28.77 MB / 0.6113 GB, free: 14.9 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.3706, allocations: 7.953 MB / 0.619 GB, free: 8.445 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.3718, allocations: 42.69 kB / 0.6191 GB, free: 8.426 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.373, allocations: 346.7 kB / 0.6194 GB, free: 8.145 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003529/0.3765, allocations: 1.184 MB / 0.6206 GB, free: 7.219 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002427/0.3789, allocations: 0.8338 MB / 0.6214 GB, free: 6.641 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004651/0.3836, allocations: 4.02 MB / 0.6253 GB, free: 4.258 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001524/0.3852, allocations: 1.056 MB / 0.6263 GB, free: 3.633 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002287/0.3875, allocations: 1.053 MB / 0.6274 GB, free: 3.078 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00126/0.3887, allocations: 0.9278 MB / 0.6283 GB, free: 2.242 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.3889, allocations: 52 kB / 0.6283 GB, free: 2.191 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001927/0.3908, allocations: 0.9551 MB / 0.6292 GB, free: 1.234 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002651/0.3911, allocations: 254.8 kB / 0.6295 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003199/0.3914, allocations: 297 kB / 0.6298 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001748/0.3932, allocations: 1.89 MB / 0.6316 GB, free: 14.79 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3932, allocations: 0 / 0.6316 GB, free: 14.79 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3932, allocations: 0 / 0.6316 GB, free: 14.79 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.3932, allocations: 0 / 0.6316 GB, free: 14.79 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.002673/0.3959, allocations: 1.662 MB / 0.6332 GB, free: 13.07 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3959, allocations: 16.03 kB / 0.6332 GB, free: 13.05 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001644/0.3961, allocations: 139.2 kB / 0.6334 GB, free: 12.91 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003352/0.3964, allocations: 162.1 kB / 0.6335 GB, free: 12.75 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002101/0.3986, allocations: 1.316 MB / 0.6348 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.66e-05/0.3986, allocations: 62 kB / 0.6349 GB, free: 11.31 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.3988, allocations: 95.89 kB / 0.635 GB, free: 11.22 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/0.4005, allocations: 1.189 MB / 0.6361 GB, free: 9.984 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.4006, allocations: 7.984 kB / 0.6361 GB, free: 9.977 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.287e-05/0.4006, allocations: 43.95 kB / 0.6362 GB, free: 9.934 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.921e-05/0.4007, allocations: 30 kB / 0.6362 GB, free: 9.902 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/0.4022, allocations: 0.9328 MB / 0.6371 GB, free: 8.969 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.005183/0.4074, allocations: 5.117 MB / 0.6421 GB, free: 3.492 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/0.4088, allocations: 0.7019 MB / 0.6428 GB, free: 2.781 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005485/0.4094, allocations: 363.8 kB / 0.6432 GB, free: 2.426 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/0.4105, allocations: 1.425 MB / 0.6445 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007276/0.4112, allocations: 418.9 kB / 0.6449 GB, free: 276 kB / 478.1 MB Notification: Performance of pre-optimization done (n=56): time 2.595e-06/0.4112, allocations: 0 / 0.6449 GB, free: 276 kB / 478.1 MB Notification: Performance of matching and sorting (n=56): time 0.002326/0.4136, allocations: 1.239 MB / 0.6462 GB, free: 14.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.4136, allocations: 59.97 kB / 0.6462 GB, free: 14.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.4149, allocations: 1.028 MB / 0.6472 GB, free: 13.86 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.005e-05/0.415, allocations: 41.7 kB / 0.6473 GB, free: 13.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004611/0.4155, allocations: 0.5542 MB / 0.6478 GB, free: 13.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/0.4157, allocations: 205.2 kB / 0.648 GB, free: 13.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.4157, allocations: 12 kB / 0.648 GB, free: 13.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.4159, allocations: 337.9 kB / 0.6483 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005493/0.4164, allocations: 285.1 kB / 0.6486 GB, free: 12.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006544/0.4171, allocations: 448.8 kB / 0.649 GB, free: 11.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006218/0.4177, allocations: 391.6 kB / 0.6494 GB, free: 11.55 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.4177, allocations: 0 / 0.6494 GB, free: 11.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001723/0.4195, allocations: 0.9653 MB / 0.6503 GB, free: 10.56 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001373/0.4196, allocations: 231.2 kB / 0.6506 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.4196, allocations: 4 kB / 0.6506 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002627/0.4199, allocations: 77.66 kB / 0.6506 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005391/0.4205, allocations: 147.8 kB / 0.6508 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/0.4227, allocations: 2.901 MB / 0.6536 GB, free: 6.863 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008834/0.4236, allocations: 127.3 kB / 0.6537 GB, free: 6.738 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.65e-05/0.4236, allocations: 28 kB / 0.6538 GB, free: 6.711 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.384e-06/0.4236, allocations: 6.188 kB / 0.6538 GB, free: 6.707 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001515/0.4252, allocations: 0.8598 MB / 0.6546 GB, free: 5.836 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.4252, allocations: 8.031 kB / 0.6546 GB, free: 5.828 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001823/0.4254, allocations: 69.67 kB / 0.6547 GB, free: 5.754 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005163/0.4259, allocations: 147.8 kB / 0.6548 GB, free: 5.609 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002068/0.428, allocations: 2.9 MB / 0.6577 GB, free: 2.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008015/0.4288, allocations: 123.5 kB / 0.6578 GB, free: 2.309 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.689e-05/0.4289, allocations: 31.98 kB / 0.6578 GB, free: 2.277 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * 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 (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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006132/0.4295, allocations: 0.4967 MB / 0.6583 GB, free: 1.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.4297, allocations: 106.7 kB / 0.6584 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/0.4314, allocations: 0.9689 MB / 0.6593 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/0.4314, allocations: 11.98 kB / 0.6593 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4315, allocations: 3.938 kB / 0.6594 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001269/0.4327, allocations: 0.8196 MB / 0.6602 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003193/0.4359, allocations: 2.146 MB / 0.6622 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.4359, allocations: 0 / 0.6622 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004756/0.4364, allocations: 115.9 kB / 0.6624 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001496/0.4366, allocations: 65.61 kB / 0.6624 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-05/0.4366, allocations: 12 kB / 0.6624 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001781/0.4384, allocations: 2.737 MB / 0.6651 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.4384, allocations: 0 / 0.6651 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/0.4405, allocations: 1.36 MB / 0.6664 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004563/0.441, allocations: 307.4 kB / 0.6667 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.4412, allocations: 16 kB / 0.6667 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007464/0.4419, allocations: 95.8 kB / 0.6668 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.442, allocations: 52.48 kB / 0.6669 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-05/0.4421, allocations: 31.98 kB / 0.6669 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009599/0.4431, allocations: 0.7255 MB / 0.6676 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4431, allocations: 0 / 0.6676 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001653/0.4447, allocations: 0.6819 MB / 0.6683 GB, free: 7.082 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 (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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002933/0.4477, allocations: 2.189 MB / 0.6704 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00242/0.4501, allocations: 1.697 MB / 0.6721 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4501, allocations: 0 / 0.6721 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007724/0.4509, allocations: 0.5983 MB / 0.6727 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/0.453, allocations: 0.5353 MB / 0.6732 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/0.4658, allocations: 7.57 MB / 0.6806 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008558/0.4667, allocations: 1.298 MB / 0.6818 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00119/0.4679, allocations: 385.9 kB / 0.6822 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005927/0.4685, allocations: 463.1 kB / 0.6827 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of SimCode: time 6.01e-07/0.4685, allocations: 0 / 0.6827 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.081/3.549, allocations: 34.43 MB / 0.7163 GB, free: 6.012 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003235/3.55, allocations: 259.5 kB / 0.7165 GB, free: 5.668 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.679/7.229, allocations: 3.719 kB / 0.7165 GB, free: 5.668 MB / 0.545 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/linux/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) Environment - environmentSimulation: