Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.006447/0.006447, allocations: 169.5 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7414/0.7414, allocations: 135.2 MB / 151 MB, free: 13.83 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.601/1.601, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.001058/0.001058, allocations: 101.3 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004161/0.0004165, allocations: 8 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5095/0.5099, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.454/4.964, allocations: 1.944 GB / 2.594 GB, free: 30.83 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/4.964, allocations: 95.94 kB / 2.594 GB, free: 30.74 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.8635/5.828, allocations: 270.5 MB / 2.858 GB, free: 31.38 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.182e-06/5.828, allocations: 0 / 2.858 GB, free: 31.38 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.128e-05/5.828, allocations: 20 kB / 2.858 GB, free: 31.36 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001751/5.83, allocations: 0.9788 MB / 2.859 GB, free: 30.34 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/5.83, allocations: 12.03 kB / 2.859 GB, free: 30.32 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001081/5.83, allocations: 102.5 kB / 2.859 GB, free: 30.21 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008864/5.831, allocations: 163 kB / 2.86 GB, free: 30.05 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008118/5.831, allocations: 0.5523 MB / 2.86 GB, free: 29.46 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/5.832, allocations: 37.31 kB / 2.86 GB, free: 29.42 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.459e-05/5.832, allocations: 56 kB / 2.86 GB, free: 29.37 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009352/5.833, allocations: 0.637 MB / 2.861 GB, free: 28.71 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/5.833, allocations: 0 / 2.861 GB, free: 28.71 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.515e-05/5.833, allocations: 24 kB / 2.861 GB, free: 28.69 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/5.833, allocations: 25.3 kB / 2.861 GB, free: 28.66 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007645/5.833, allocations: 0.5009 MB / 2.861 GB, free: 28.16 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002814/5.836, allocations: 2.247 MB / 2.864 GB, free: 25.76 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004353/5.837, allocations: 250.8 kB / 2.864 GB, free: 25.51 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.257e-05/5.837, allocations: 4 kB / 2.864 GB, free: 25.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/5.837, allocations: 38.56 kB / 2.864 GB, free: 25.46 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/5.837, allocations: 0 / 2.864 GB, free: 25.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20): time 0.001431/5.838, allocations: 0.6587 MB / 2.864 GB, free: 24.75 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/5.838, allocations: 77.11 kB / 2.865 GB, free: 24.66 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004537/5.839, allocations: 0.498 MB / 2.865 GB, free: 24.15 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/5.839, allocations: 33.7 kB / 2.865 GB, free: 24.11 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/5.839, allocations: 331.4 kB / 2.865 GB, free: 23.79 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/5.839, allocations: 74.98 kB / 2.865 GB, free: 23.71 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.676e-05/5.839, allocations: 8 kB / 2.865 GB, free: 23.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.263e-05/5.839, allocations: 359.5 kB / 2.866 GB, free: 23.34 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/5.839, allocations: 132.6 kB / 2.866 GB, free: 23.21 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/5.84, allocations: 228.3 kB / 2.866 GB, free: 22.95 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/5.84, allocations: 163.9 kB / 2.866 GB, free: 22.79 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/5.84, allocations: 0 / 2.866 GB, free: 22.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006901/5.841, allocations: 487.2 kB / 2.867 GB, free: 22.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/5.841, allocations: 8 kB / 2.867 GB, free: 22.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/5.841, allocations: 0 / 2.867 GB, free: 22.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002841/5.841, allocations: 85.66 kB / 2.867 GB, free: 22.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/5.841, allocations: 75.84 kB / 2.867 GB, free: 22.13 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001986/5.843, allocations: 3.018 MB / 2.87 GB, free: 18.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005572/5.844, allocations: 71.3 kB / 2.87 GB, free: 18.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/5.844, allocations: 12 kB / 2.87 GB, free: 18.76 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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: 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 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002922/5.844, allocations: 225.7 kB / 2.87 GB, free: 18.53 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.897e-05/5.844, allocations: 59.34 kB / 2.87 GB, free: 18.47 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.185e-05/5.844, allocations: 48.52 kB / 2.87 GB, free: 18.42 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/5.844, allocations: 4.031 kB / 2.87 GB, free: 18.42 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/5.844, allocations: 7.984 kB / 2.87 GB, free: 18.41 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004923/5.845, allocations: 0.517 MB / 2.871 GB, free: 17.82 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/5.846, allocations: 0.9036 MB / 2.872 GB, free: 16.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/5.846, allocations: 4 kB / 2.872 GB, free: 16.85 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/5.846, allocations: 39.98 kB / 2.872 GB, free: 16.81 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001863/5.846, allocations: 56.81 kB / 2.872 GB, free: 16.75 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/5.846, allocations: 4 kB / 2.872 GB, free: 16.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/5.847, allocations: 1.648 MB / 2.873 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/5.847, allocations: 4.031 kB / 2.873 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005352/5.848, allocations: 460.8 kB / 2.874 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002375/5.848, allocations: 160.4 kB / 2.874 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.067e-05/5.848, allocations: 8 kB / 2.874 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004611/5.849, allocations: 35.88 kB / 2.874 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.015e-05/5.849, allocations: 23.92 kB / 2.874 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-05/5.849, allocations: 19.92 kB / 2.874 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000362/5.849, allocations: 390.8 kB / 2.874 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/5.849, allocations: 0 / 2.874 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009077/5.85, allocations: 291.6 kB / 2.875 GB, free: 13.55 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001694/5.852, allocations: 1.984 MB / 2.877 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000823/5.853, allocations: 0.5247 MB / 2.877 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/5.853, allocations: 0 / 2.877 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002953/5.853, allocations: 252 kB / 2.877 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/5.854, allocations: 350.2 kB / 2.878 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003871/5.858, allocations: 4.44 MB / 2.882 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/5.859, allocations: 0.9174 MB / 2.883 GB, free: 4.895 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004687/5.859, allocations: 108.8 kB / 2.883 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/5.859, allocations: 191.4 kB / 2.883 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of SimCode: time 5.681e-06/5.859, allocations: 7.938 kB / 2.883 GB, free: 4.598 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3966/6.256, allocations: 31.57 MB / 2.914 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/6.256, allocations: 248.5 kB / 2.914 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.896/9.152, allocations: 0 / 2.914 GB, free: 171.9 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)