Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.Validation.MixingVolumeMassFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.001087/0.001087, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.729/0.729, allocations: 133.4 MB / 146.7 MB, free: 10.81 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.471/1.471, allocations: 221.3 MB / 400.4 MB, free: 5.793 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.0009045/0.0009044, allocations: 83.89 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.575e-05/3.577e-05, allocations: 4.219 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1501, allocations: 82.3 MB / 0.6405 GB, free: 7.754 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.956/5.106, allocations: 1.881 GB / 2.521 GB, free: 49.98 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/5.106, allocations: 79.95 kB / 2.521 GB, free: 49.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.112/6.218, allocations: 262.6 MB / 2.778 GB, free: 61.37 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.264e-06/6.218, allocations: 0 / 2.778 GB, free: 61.37 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.114e-05/6.218, allocations: 16 kB / 2.778 GB, free: 61.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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001872/6.22, allocations: 0.7911 MB / 2.779 GB, free: 60.52 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/6.22, allocations: 11.97 kB / 2.779 GB, free: 60.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001903/6.221, allocations: 86.52 kB / 2.779 GB, free: 60.41 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/6.222, allocations: 171.1 kB / 2.779 GB, free: 60.24 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/6.223, allocations: 0.5079 MB / 2.779 GB, free: 59.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/6.223, allocations: 29 kB / 2.779 GB, free: 59.67 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/6.223, allocations: 51.98 kB / 2.779 GB, free: 59.62 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008933/6.224, allocations: 498.2 kB / 2.78 GB, free: 59.12 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/6.224, allocations: 0 / 2.78 GB, free: 59.12 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.824e-05/6.224, allocations: 20 kB / 2.78 GB, free: 59.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.76e-05/6.224, allocations: 17 kB / 2.78 GB, free: 59.08 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006132/6.225, allocations: 387.8 kB / 2.78 GB, free: 58.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002545/6.227, allocations: 1.716 MB / 2.782 GB, free: 56.85 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004103/6.228, allocations: 301 kB / 2.782 GB, free: 56.55 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/6.228, allocations: 176.7 kB / 2.782 GB, free: 56.38 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001728/6.228, allocations: 97.09 kB / 2.783 GB, free: 56.26 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/6.228, allocations: 38.56 kB / 2.783 GB, free: 56.21 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 1.783e-06/6.228, allocations: 4 kB / 2.783 GB, free: 56.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001792/6.23, allocations: 0.9187 MB / 2.783 GB, free: 55.24 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/6.23, allocations: 55.39 kB / 2.784 GB, free: 55.17 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004434/6.231, allocations: 407 kB / 2.784 GB, free: 54.77 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.884e-05/6.231, allocations: 33.7 kB / 2.784 GB, free: 54.73 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/6.231, allocations: 244.2 kB / 2.784 GB, free: 54.48 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.797e-05/6.231, allocations: 118.3 kB / 2.784 GB, free: 54.37 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.796e-05/6.231, allocations: 12 kB / 2.784 GB, free: 54.36 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.277e-05/6.231, allocations: 354.8 kB / 2.785 GB, free: 54 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/6.231, allocations: 120 kB / 2.785 GB, free: 53.88 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/6.231, allocations: 203.6 kB / 2.785 GB, free: 53.66 MB / 0.6823 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/6.233, allocations: 0.5509 MB / 2.785 GB, free: 53.09 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/6.233, allocations: 3.984 kB / 2.785 GB, free: 53.08 MB / 0.6823 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005439/6.233, allocations: 404.5 kB / 2.786 GB, free: 52.68 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/6.233, allocations: 9.25 kB / 2.786 GB, free: 52.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/6.233, allocations: 0 / 2.786 GB, free: 52.67 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/6.233, allocations: 4 kB / 2.786 GB, free: 52.67 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002997/6.234, allocations: 67.91 kB / 2.786 GB, free: 52.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/6.234, allocations: 7.953 kB / 2.786 GB, free: 52.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000492/6.234, allocations: 36.02 kB / 2.786 GB, free: 52.56 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/6.234, allocations: 11.98 kB / 2.786 GB, free: 52.55 MB / 0.6823 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001178/6.234, allocations: 126.5 kB / 2.786 GB, free: 52.42 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.048e-05/6.235, allocations: 51.44 kB / 2.786 GB, free: 52.37 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/6.235, allocations: 60.88 kB / 2.786 GB, free: 52.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/6.235, allocations: 4 kB / 2.786 GB, free: 52.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/6.235, allocations: 3.938 kB / 2.786 GB, free: 52.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004232/6.235, allocations: 400.3 kB / 2.787 GB, free: 51.88 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/6.237, allocations: 1.229 MB / 2.788 GB, free: 50.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/6.237, allocations: 4 kB / 2.788 GB, free: 50.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003403/6.237, allocations: 83.84 kB / 2.788 GB, free: 50.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/6.237, allocations: 8.438 kB / 2.788 GB, free: 50.45 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/6.237, allocations: 16 kB / 2.788 GB, free: 50.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/6.237, allocations: 7.984 kB / 2.788 GB, free: 50.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/6.237, allocations: 7.938 kB / 2.788 GB, free: 50.41 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008074/6.238, allocations: 0.9086 MB / 2.789 GB, free: 49.34 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002208/6.238, allocations: 164.5 kB / 2.789 GB, free: 49.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.554e-05/6.238, allocations: 19.98 kB / 2.789 GB, free: 49.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004193/6.239, allocations: 31.98 kB / 2.789 GB, free: 49.11 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/6.239, allocations: 31.86 kB / 2.789 GB, free: 49.08 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.734e-05/6.239, allocations: 24 kB / 2.789 GB, free: 49.06 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000316/6.239, allocations: 321.2 kB / 2.789 GB, free: 48.75 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/6.239, allocations: 0 / 2.789 GB, free: 48.75 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008705/6.24, allocations: 216 kB / 2.79 GB, free: 48.54 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002369/6.243, allocations: 3.385 MB / 2.793 GB, free: 45.03 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005117/6.243, allocations: 312.8 kB / 2.793 GB, free: 44.72 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/6.243, allocations: 0 / 2.793 GB, free: 44.72 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001797/6.243, allocations: 160.6 kB / 2.793 GB, free: 44.57 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/6.245, allocations: 343.2 kB / 2.794 GB, free: 44.23 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/6.247, allocations: 0.9933 MB / 2.795 GB, free: 43.15 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/6.247, allocations: 0.9058 MB / 2.796 GB, free: 42.22 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005053/6.248, allocations: 136.6 kB / 2.796 GB, free: 42.09 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/6.248, allocations: 167.4 kB / 2.796 GB, free: 41.92 MB / 0.6823 GB Notification: Performance of SimCode: time 6.31e-07/6.248, allocations: 0 / 2.796 GB, free: 41.92 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05672/6.305, allocations: 32.21 MB / 2.827 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/6.305, allocations: 191 kB / 2.827 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.053/9.358, allocations: 0 / 2.827 GB, free: 9.723 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)