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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 168.6 kB / 12.72 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7491/0.7491, allocations: 133.4 MB / 146.7 MB, free: 10.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.715/1.715, allocations: 221.3 MB / 400.4 MB, free: 5.801 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009879/0.000988, allocations: 98.06 kB / 483.3 MB, free: 5.809 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.177e-05/4.18e-05, allocations: 4.25 kB / 0.5601 GB, free: 87.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2019, allocations: 82.3 MB / 0.6405 GB, free: 7.707 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.613/1.815, allocations: 412.1 MB / 1.043 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/1.815, allocations: 91.7 kB / 1.043 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.441/3.256, allocations: 392.8 MB / 1.427 GB, free: 72.51 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.853e-06/3.256, allocations: 0 / 1.427 GB, free: 72.51 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002553/3.256, allocations: 39.84 kB / 1.427 GB, free: 72.48 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.004758/3.261, allocations: 1.525 MB / 1.428 GB, free: 70.91 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.105e-05/3.261, allocations: 16.03 kB / 1.428 GB, free: 70.89 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005039/3.262, allocations: 135.2 kB / 1.428 GB, free: 70.75 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/3.263, allocations: 162.1 kB / 1.428 GB, free: 70.59 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02736/3.29, allocations: 10.55 MB / 1.439 GB, free: 60.18 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/3.29, allocations: 66 kB / 1.439 GB, free: 60.11 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005788/3.291, allocations: 88 kB / 1.439 GB, free: 60.02 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0033/3.294, allocations: 1.101 MB / 1.44 GB, free: 58.88 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.838e-05/3.294, allocations: 0 / 1.44 GB, free: 58.88 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002024/3.294, allocations: 40 kB / 1.44 GB, free: 58.84 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.534e-05/3.295, allocations: 30 kB / 1.44 GB, free: 58.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/3.296, allocations: 0.8198 MB / 1.441 GB, free: 57.99 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.008215/3.304, allocations: 5.177 MB / 1.446 GB, free: 52.45 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/3.306, allocations: 0.7014 MB / 1.447 GB, free: 51.75 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004864/3.306, allocations: 320.7 kB / 1.447 GB, free: 51.43 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001374/3.308, allocations: 1.43 MB / 1.448 GB, free: 49.69 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006699/3.308, allocations: 387 kB / 1.449 GB, free: 49.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 3.576e-06/3.308, allocations: 0 / 1.449 GB, free: 49.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.001892/3.31, allocations: 0.7647 MB / 1.449 GB, free: 48.52 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/3.31, allocations: 59.95 kB / 1.449 GB, free: 48.45 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/3.312, allocations: 0.9029 MB / 1.45 GB, free: 47.53 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001106/3.312, allocations: 41.7 kB / 1.45 GB, free: 47.48 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004771/3.313, allocations: 0.5581 MB / 1.451 GB, free: 46.91 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002102/3.313, allocations: 205 kB / 1.451 GB, free: 46.71 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/3.313, allocations: 12 kB / 1.451 GB, free: 46.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001067/3.313, allocations: 338 kB / 1.451 GB, free: 46.36 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/3.313, allocations: 261.5 kB / 1.452 GB, free: 46.11 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004911/3.314, allocations: 449.6 kB / 1.452 GB, free: 45.59 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005462/3.315, allocations: 368.7 kB / 1.452 GB, free: 45.22 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/3.315, allocations: 4.094 kB / 1.453 GB, free: 45.22 MB / 0.6823 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001836/3.316, allocations: 0.9612 MB / 1.453 GB, free: 44.23 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006223/3.317, allocations: 1.691 MB / 1.455 GB, free: 42.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/3.317, allocations: 4 kB / 1.455 GB, free: 42.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005001/3.318, allocations: 129.6 kB / 1.455 GB, free: 42.28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00058/3.318, allocations: 155.8 kB / 1.455 GB, free: 42.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002437/3.321, allocations: 3.22 MB / 1.459 GB, free: 38.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/3.322, allocations: 123.3 kB / 1.459 GB, free: 38.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.661e-05/3.322, allocations: 31.98 kB / 1.459 GB, free: 38.48 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/3.322, allocations: 4 kB / 1.459 GB, free: 38.48 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001342/3.323, allocations: 0.8518 MB / 1.459 GB, free: 37.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/3.323, allocations: 7.938 kB / 1.46 GB, free: 37.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003376/3.324, allocations: 130 kB / 1.46 GB, free: 37.47 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005528/3.324, allocations: 159.8 kB / 1.46 GB, free: 37.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002248/3.326, allocations: 3.199 MB / 1.463 GB, free: 33.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/3.327, allocations: 135.2 kB / 1.463 GB, free: 33.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.532e-05/3.328, allocations: 31.98 kB / 1.463 GB, free: 33.67 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.0002339/3.328, allocations: 142.5 kB / 1.463 GB, free: 33.53 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002614/3.328, allocations: 106.7 kB / 1.463 GB, free: 33.42 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/3.33, allocations: 0.9717 MB / 1.464 GB, free: 32.44 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/3.33, allocations: 8 kB / 1.464 GB, free: 32.43 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/3.33, allocations: 4 kB / 1.464 GB, free: 32.43 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001034/3.331, allocations: 0.8118 MB / 1.465 GB, free: 31.58 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003569/3.334, allocations: 2.123 MB / 1.467 GB, free: 29.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/3.334, allocations: 0 / 1.467 GB, free: 29.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005144/3.335, allocations: 131.9 kB / 1.467 GB, free: 29.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003157/3.335, allocations: 101.6 kB / 1.467 GB, free: 29.14 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.245e-05/3.335, allocations: 23.98 kB / 1.467 GB, free: 29.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/3.337, allocations: 2.972 MB / 1.47 GB, free: 25.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/3.337, allocations: 4.031 kB / 1.47 GB, free: 25.88 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/3.339, allocations: 1.379 MB / 1.472 GB, free: 24.45 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006204/3.34, allocations: 295.5 kB / 1.472 GB, free: 24.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002341/3.34, allocations: 15.98 kB / 1.472 GB, free: 24.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008745/3.341, allocations: 87.77 kB / 1.472 GB, free: 24.04 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/3.341, allocations: 72.36 kB / 1.472 GB, free: 23.96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.498e-05/3.341, allocations: 23.98 kB / 1.472 GB, free: 23.94 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009469/3.342, allocations: 0.7185 MB / 1.473 GB, free: 23.21 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/3.342, allocations: 0 / 1.473 GB, free: 23.21 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002304/3.344, allocations: 0.6976 MB / 1.473 GB, free: 22.51 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.003049/3.347, allocations: 2.546 MB / 1.476 GB, free: 19.93 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002109/3.35, allocations: 1.679 MB / 1.478 GB, free: 18.17 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/3.35, allocations: 0 / 1.478 GB, free: 18.17 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006215/3.35, allocations: 0.5874 MB / 1.478 GB, free: 17.56 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/3.353, allocations: 0.5169 MB / 1.479 GB, free: 17.05 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004924/3.357, allocations: 2.367 MB / 1.481 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000823/3.358, allocations: 1.336 MB / 1.482 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001996/3.36, allocations: 0.5937 MB / 1.483 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005654/3.361, allocations: 455.2 kB / 1.483 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of SimCode: time 1.292e-06/3.361, allocations: 0 / 1.483 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5962/3.957, allocations: 39.3 MB / 1.522 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002478/3.957, allocations: 230.7 kB / 1.522 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.413/7.37, allocations: 5.531 kB / 1.522 GB, free: 126.6 MB / 0.6823 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)