Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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.MixingVolumeSteadyStateMass,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",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.002093/0.002093, allocations: 172.5 kB / 7.646 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.8428/0.8428, allocations: 133.6 MB / 141.6 MB, free: 2.914 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.485/1.485, 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.0009811/0.000981, allocations: 99.11 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.976e-05/1.987e-05, allocations: 4 kB / 0.5535 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4252/0.4253, allocations: 82.3 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.667/5.092, allocations: 1.884 GB / 2.518 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003281/5.093, allocations: 87.95 kB / 2.518 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.223/6.316, allocations: 367.9 MB / 2.877 GB, free: 54.91 MB / 0.6823 GB Notification: Performance of FrontEnd: time 6.622e-06/6.316, allocations: 4 kB / 2.877 GB, free: 54.91 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.805e-05/6.316, allocations: 19.94 kB / 2.877 GB, free: 54.89 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.00225/6.318, allocations: 0.8744 MB / 2.878 GB, free: 53.97 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.189e-05/6.318, allocations: 11.97 kB / 2.878 GB, free: 53.96 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/6.319, allocations: 175 kB / 2.878 GB, free: 53.79 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/6.321, allocations: 0.5585 MB / 2.879 GB, free: 53.19 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/6.321, allocations: 12 kB / 2.879 GB, free: 53.18 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-05/6.321, allocations: 28 kB / 2.879 GB, free: 53.15 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006848/6.321, allocations: 342.5 kB / 2.879 GB, free: 52.81 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006828/6.322, allocations: 367.9 kB / 2.879 GB, free: 52.45 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/6.322, allocations: 4 kB / 2.879 GB, free: 52.45 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.118e-05/6.322, allocations: 0 / 2.879 GB, free: 52.45 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.311e-05/6.322, allocations: 21.25 kB / 2.879 GB, free: 52.42 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.002551/6.325, allocations: 1.924 MB / 2.881 GB, free: 50.34 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/6.325, allocations: 254.6 kB / 2.881 GB, free: 50.08 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/6.325, allocations: 154.5 kB / 2.882 GB, free: 49.93 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002849/6.326, allocations: 190.2 kB / 2.882 GB, free: 49.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/6.326, allocations: 42.56 kB / 2.882 GB, free: 49.65 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=30): time 2.354e-06/6.326, allocations: 0 / 2.882 GB, free: 49.65 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30): time 0.000922/6.327, allocations: 366.3 kB / 2.882 GB, free: 49.29 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/6.327, allocations: 55.41 kB / 2.882 GB, free: 49.22 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003213/6.327, allocations: 333.2 kB / 2.883 GB, free: 48.89 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/6.327, allocations: 25.7 kB / 2.883 GB, free: 48.86 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/6.327, allocations: 284.1 kB / 2.883 GB, free: 48.58 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.035e-05/6.327, allocations: 106.4 kB / 2.883 GB, free: 48.47 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.49e-05/6.327, allocations: 0 / 2.883 GB, free: 48.47 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001013/6.327, allocations: 350.8 kB / 2.883 GB, free: 48.12 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/6.328, allocations: 108 kB / 2.883 GB, free: 48.02 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/6.328, allocations: 196.8 kB / 2.884 GB, free: 47.79 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/6.328, allocations: 131.9 kB / 2.884 GB, free: 47.66 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/6.328, allocations: 0 / 2.884 GB, free: 47.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004134/6.328, allocations: 346.3 kB / 2.884 GB, free: 47.32 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001681/6.329, allocations: 0.5332 MB / 2.885 GB, free: 46.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/6.329, allocations: 0 / 2.885 GB, free: 46.74 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/6.329, allocations: 4 kB / 2.885 GB, free: 46.74 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/6.329, allocations: 67.91 kB / 2.885 GB, free: 46.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/6.329, allocations: 4 kB / 2.885 GB, free: 46.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005249/6.33, allocations: 55.7 kB / 2.885 GB, free: 46.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/6.33, allocations: 12 kB / 2.885 GB, free: 46.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.273e-06/6.33, allocations: 4 kB / 2.885 GB, free: 46.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003646/6.33, allocations: 280 kB / 2.885 GB, free: 46.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/6.33, allocations: 4 kB / 2.885 GB, free: 46.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-06/6.33, allocations: 0 / 2.885 GB, free: 46.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/6.33, allocations: 67.91 kB / 2.885 GB, free: 46.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/6.33, allocations: 4 kB / 2.885 GB, free: 46.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000412/6.331, allocations: 55.83 kB / 2.885 GB, free: 46.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/6.331, allocations: 12 kB / 2.885 GB, free: 46.18 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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 9.268e-05/6.331, allocations: 112.9 kB / 2.885 GB, free: 46.07 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004776/6.331, allocations: 342.5 kB / 2.886 GB, free: 45.72 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/6.331, allocations: 47.44 kB / 2.886 GB, free: 45.68 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005879/6.332, allocations: 359.5 kB / 2.886 GB, free: 45.32 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/6.332, allocations: 4 kB / 2.886 GB, free: 45.31 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/6.332, allocations: 0 / 2.886 GB, free: 45.31 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004533/6.332, allocations: 389.2 kB / 2.886 GB, free: 44.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/6.334, allocations: 1.013 MB / 2.887 GB, free: 43.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/6.334, allocations: 4.031 kB / 2.887 GB, free: 43.81 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002806/6.334, allocations: 67.91 kB / 2.887 GB, free: 43.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002295/6.334, allocations: 44.77 kB / 2.887 GB, free: 43.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/6.334, allocations: 4 kB / 2.887 GB, free: 43.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/6.336, allocations: 1.405 MB / 2.889 GB, free: 42.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/6.336, allocations: 0 / 2.889 GB, free: 42.18 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007425/6.336, allocations: 0.73 MB / 2.889 GB, free: 41.36 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/6.336, allocations: 164.5 kB / 2.89 GB, free: 41.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.799e-05/6.337, allocations: 15.92 kB / 2.89 GB, free: 41.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000406/6.337, allocations: 35.94 kB / 2.89 GB, free: 41.13 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.054e-05/6.337, allocations: 31.86 kB / 2.89 GB, free: 41.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/6.337, allocations: 8 kB / 2.89 GB, free: 41.09 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002955/6.337, allocations: 267 kB / 2.89 GB, free: 40.83 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/6.337, allocations: 0 / 2.89 GB, free: 40.83 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00123/6.339, allocations: 379.2 kB / 2.89 GB, free: 40.46 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (28): * Single equations (assignments): 27 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002909/6.342, allocations: 2.892 MB / 2.893 GB, free: 37.48 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007157/6.342, allocations: 430.1 kB / 2.894 GB, free: 37.06 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/6.342, allocations: 4 kB / 2.894 GB, free: 37.05 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003844/6.343, allocations: 261.3 kB / 2.894 GB, free: 36.79 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/6.344, allocations: 277.7 kB / 2.894 GB, free: 36.52 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/6.346, allocations: 0.9523 MB / 2.895 GB, free: 35.51 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/6.346, allocations: 0.9137 MB / 2.896 GB, free: 34.57 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006817/6.347, allocations: 184.2 kB / 2.896 GB, free: 34.39 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/6.347, allocations: 179.3 kB / 2.896 GB, free: 34.21 MB / 0.6823 GB Notification: Performance of SimCode: time 2.224e-06/6.347, allocations: 4 kB / 2.896 GB, free: 34.21 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05344/6.401, allocations: 22.04 MB / 2.918 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/6.401, allocations: 171.1 kB / 2.918 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.175/9.576, allocations: 0 / 2.918 GB, free: 12.11 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1)