Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.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: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_RadiantSlab_Examples_EmbeddedPipeExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_RadiantSlab_Examples_EmbeddedPipeExample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002831/0.002831, allocations: 180.9 kB / 7.65 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.9146/0.9146, allocations: 133.5 MB / 141.6 MB, free: 2.902 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.619/1.619, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.0008868/0.0008867, allocations: 104.3 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.642e-05/2.643e-05, allocations: 4 kB / 0.5536 GB, free: 8.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5961/0.5962, allocations: 82.29 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9918/1.588, allocations: 411.5 MB / 1.036 GB, free: 6.734 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/1.588, allocations: 95.38 kB / 1.036 GB, free: 6.684 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.997/3.585, allocations: 390.7 MB / 1.417 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.373e-06/3.585, allocations: 0 / 1.417 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.00015/3.585, allocations: 34.17 kB / 1.417 GB, free: 170.2 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003332/3.589, allocations: 1.531 MB / 1.419 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/3.589, allocations: 7.719 kB / 1.419 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006643/3.59, allocations: 163.3 kB / 1.419 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02392/3.613, allocations: 10.51 MB / 1.429 GB, free: 166.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.188e-05/3.614, allocations: 29.2 kB / 1.429 GB, free: 166.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/3.614, allocations: 55.47 kB / 1.429 GB, free: 166.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001376/3.615, allocations: 0.7599 MB / 1.43 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/3.617, allocations: 0.9777 MB / 1.431 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/3.617, allocations: 7.953 kB / 1.431 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-05/3.617, allocations: 3.875 kB / 1.431 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.233e-05/3.617, allocations: 40.12 kB / 1.431 GB, free: 165.7 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.005802/3.623, allocations: 5.007 MB / 1.436 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/3.624, allocations: 0.6678 MB / 1.437 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003618/3.624, allocations: 309.5 kB / 1.437 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/3.625, allocations: 1.426 MB / 1.438 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005714/3.626, allocations: 372.5 kB / 1.439 GB, free: 160 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 3.357e-06/3.626, allocations: 3.969 kB / 1.439 GB, free: 160 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.001896/3.628, allocations: 0.7711 MB / 1.439 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/3.628, allocations: 59.59 kB / 1.44 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/3.629, allocations: 0.8282 MB / 1.44 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.353e-05/3.629, allocations: 29.33 kB / 1.44 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004858/3.629, allocations: 0.5602 MB / 1.441 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/3.63, allocations: 201.2 kB / 1.441 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/3.63, allocations: 0 / 1.441 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.759e-05/3.63, allocations: 341.7 kB / 1.441 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/3.63, allocations: 244.2 kB / 1.442 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/3.63, allocations: 433.6 kB / 1.442 GB, free: 158 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007467/3.631, allocations: 380 kB / 1.442 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/3.631, allocations: 7.016 kB / 1.442 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001709/3.633, allocations: 0.9062 MB / 1.443 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004391/3.633, allocations: 1.693 MB / 1.445 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/3.633, allocations: 3.844 kB / 1.445 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000444/3.634, allocations: 128.3 kB / 1.445 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000609/3.634, allocations: 160.1 kB / 1.445 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002321/3.637, allocations: 3.07 MB / 1.448 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/3.638, allocations: 103.2 kB / 1.448 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.642e-05/3.638, allocations: 33.17 kB / 1.448 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/3.638, allocations: 3.156 kB / 1.448 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001611/3.64, allocations: 0.7964 MB / 1.449 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/3.64, allocations: 9.547 kB / 1.449 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003417/3.64, allocations: 121.8 kB / 1.449 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000569/3.641, allocations: 167.5 kB / 1.449 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/3.643, allocations: 3.062 MB / 1.452 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/3.644, allocations: 101.6 kB / 1.453 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.177e-05/3.644, allocations: 37.2 kB / 1.453 GB, free: 149.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * 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: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002764/3.644, allocations: 122.8 kB / 1.453 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001688/3.646, allocations: 0.7683 MB / 1.453 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/3.646, allocations: 106.5 kB / 1.454 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001891/3.648, allocations: 0.9599 MB / 1.455 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/3.648, allocations: 3.375 kB / 1.455 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/3.648, allocations: 3.812 kB / 1.455 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001253/3.649, allocations: 0.8119 MB / 1.455 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00345/3.653, allocations: 1.983 MB / 1.457 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/3.653, allocations: 2.156 kB / 1.457 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005686/3.653, allocations: 123.2 kB / 1.457 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003142/3.654, allocations: 106.1 kB / 1.457 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.565e-05/3.654, allocations: 11.77 kB / 1.457 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001827/3.656, allocations: 2.86 MB / 1.46 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/3.656, allocations: 3.938 kB / 1.46 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002199/3.658, allocations: 1.349 MB / 1.462 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006092/3.658, allocations: 295.5 kB / 1.462 GB, free: 142 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/3.659, allocations: 7.969 kB / 1.462 GB, free: 142 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000711/3.659, allocations: 82.34 kB / 1.462 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/3.659, allocations: 55.55 kB / 1.462 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.033e-05/3.659, allocations: 31.97 kB / 1.462 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008542/3.66, allocations: 0.6505 MB / 1.463 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/3.66, allocations: 0 / 1.463 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002179/3.663, allocations: 0.6702 MB / 1.463 GB, free: 140.5 MB / 0.6823 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 52 * 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: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003159/3.666, allocations: 2.509 MB / 1.466 GB, free: 138 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002141/3.668, allocations: 1.594 MB / 1.467 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/3.668, allocations: 0 / 1.467 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005806/3.668, allocations: 0.5548 MB / 1.468 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/3.671, allocations: 0.4936 MB / 1.468 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00466/3.676, allocations: 2.303 MB / 1.471 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007076/3.676, allocations: 1.332 MB / 1.472 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001873/3.678, allocations: 0.602 MB / 1.473 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000536/3.679, allocations: 443.3 kB / 1.473 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of SimCode: time 7.81e-07/3.679, allocations: 0 / 1.473 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07283/3.752, allocations: 34.57 MB / 1.507 GB, free: 97.04 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002592/3.752, allocations: 193.1 kB / 1.507 GB, free: 96.84 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.494/7.246, allocations: 3.938 kB / 1.507 GB, free: 96.83 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_RadiantSlab_Examples_EmbeddedPipeExample_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_RadiantSlab_Examples_EmbeddedPipeExample.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.pipe 2>&1)