Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumeInitialization,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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.001137/0.001137, allocations: 175.2 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.858/0.858, 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.531/1.531, allocations: 221.3 MB / 400.4 MB, free: 5.828 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.0009794/0.0009794, allocations: 87.89 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.82e-05/3.823e-05, allocations: 4.188 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2054, allocations: 82.31 MB / 0.6405 GB, free: 7.715 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.484/5.69, allocations: 1.912 GB / 2.552 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003653/5.69, allocations: 87.95 kB / 2.552 GB, free: 16.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.056/7.746, allocations: 475.5 MB / 3.017 GB, free: 80.41 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.212e-06/7.746, allocations: 0 / 3.017 GB, free: 80.41 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001311/7.746, allocations: 27.98 kB / 3.017 GB, free: 80.38 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.004753/7.751, allocations: 1.489 MB / 3.018 GB, free: 78.85 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/7.751, allocations: 8.031 kB / 3.018 GB, free: 78.84 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003619/7.751, allocations: 126.5 kB / 3.018 GB, free: 78.71 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002233/7.753, allocations: 282.5 kB / 3.018 GB, free: 78.43 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002214/7.756, allocations: 0.8322 MB / 3.019 GB, free: 77.56 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.608e-05/7.756, allocations: 49.3 kB / 3.019 GB, free: 77.51 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002507/7.756, allocations: 75.86 kB / 3.019 GB, free: 77.43 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/7.758, allocations: 0.9666 MB / 3.02 GB, free: 76.45 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/7.758, allocations: 0 / 3.02 GB, free: 76.45 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.9e-05/7.758, allocations: 27.98 kB / 3.02 GB, free: 76.42 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.637e-05/7.758, allocations: 69.95 kB / 3.02 GB, free: 76.35 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/7.76, allocations: 0.9605 MB / 3.021 GB, free: 75.39 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006234/7.766, allocations: 3.594 MB / 3.025 GB, free: 71.56 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008751/7.767, allocations: 0.6394 MB / 3.025 GB, free: 70.91 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004508/7.767, allocations: 368.7 kB / 3.026 GB, free: 70.55 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002642/7.767, allocations: 198.7 kB / 3.026 GB, free: 70.32 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/7.767, allocations: 39.12 kB / 3.026 GB, free: 70.28 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=62): time 3.066e-06/7.767, allocations: 0 / 3.026 GB, free: 70.28 MB / 0.6823 GB Notification: Performance of matching and sorting (n=62): time 0.001576/7.769, allocations: 0.7362 MB / 3.027 GB, free: 69.54 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.87e-05/7.769, allocations: 115.4 kB / 3.027 GB, free: 69.39 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/7.77, allocations: 0.6919 MB / 3.028 GB, free: 68.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.936e-05/7.77, allocations: 41.7 kB / 3.028 GB, free: 68.65 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/7.771, allocations: 416.2 kB / 3.028 GB, free: 68.24 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/7.771, allocations: 220.8 kB / 3.028 GB, free: 68.02 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/7.771, allocations: 12 kB / 3.028 GB, free: 68.01 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.584e-05/7.771, allocations: 341.9 kB / 3.029 GB, free: 67.67 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000457/7.771, allocations: 313.5 kB / 3.029 GB, free: 67.36 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005183/7.772, allocations: 431.6 kB / 3.029 GB, free: 66.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005126/7.773, allocations: 393.9 kB / 3.03 GB, free: 66.52 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/7.773, allocations: 0 / 3.03 GB, free: 66.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001285/7.774, allocations: 0.8895 MB / 3.03 GB, free: 65.62 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002492/7.774, allocations: 0.6985 MB / 3.031 GB, free: 64.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/7.774, allocations: 0 / 3.031 GB, free: 64.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-05/7.774, allocations: 12 kB / 3.031 GB, free: 64.85 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006763/7.775, allocations: 147.8 kB / 3.031 GB, free: 64.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.232e-05/7.775, allocations: 11.94 kB / 3.031 GB, free: 64.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/7.776, allocations: 103.1 kB / 3.031 GB, free: 64.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.694e-05/7.776, allocations: 28 kB / 3.031 GB, free: 64.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/7.776, allocations: 5.094 kB / 3.031 GB, free: 64.56 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001027/7.777, allocations: 0.7366 MB / 3.032 GB, free: 63.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/7.777, allocations: 0 / 3.032 GB, free: 63.83 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/7.777, allocations: 7.938 kB / 3.032 GB, free: 63.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006356/7.778, allocations: 144 kB / 3.032 GB, free: 63.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/7.778, allocations: 15.98 kB / 3.032 GB, free: 63.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000883/7.779, allocations: 91.23 kB / 3.032 GB, free: 63.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.344e-05/7.779, allocations: 28 kB / 3.032 GB, free: 63.55 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.0001741/7.779, allocations: 148.8 kB / 3.033 GB, free: 63.39 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/7.779, allocations: 98.81 kB / 3.033 GB, free: 63.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/7.78, allocations: 0.7969 MB / 3.033 GB, free: 62.49 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/7.78, allocations: 7.938 kB / 3.033 GB, free: 62.48 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/7.78, allocations: 4 kB / 3.033 GB, free: 62.48 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007918/7.781, allocations: 0.7243 MB / 3.034 GB, free: 61.72 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002958/7.784, allocations: 2.062 MB / 3.036 GB, free: 59.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/7.784, allocations: 4 kB / 3.036 GB, free: 59.56 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006251/7.785, allocations: 139.8 kB / 3.036 GB, free: 59.42 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.248e-06/7.785, allocations: 8 kB / 3.036 GB, free: 59.41 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.708e-05/7.785, allocations: 16 kB / 3.036 GB, free: 59.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.637e-06/7.785, allocations: 12.38 kB / 3.036 GB, free: 59.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/7.785, allocations: 8 kB / 3.036 GB, free: 59.38 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/7.786, allocations: 1.539 MB / 3.038 GB, free: 57.69 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004191/7.787, allocations: 259.8 kB / 3.038 GB, free: 57.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/7.787, allocations: 16 kB / 3.038 GB, free: 57.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006178/7.788, allocations: 51.86 kB / 3.038 GB, free: 57.35 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.677e-05/7.788, allocations: 48.28 kB / 3.038 GB, free: 57.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.324e-05/7.788, allocations: 27.98 kB / 3.038 GB, free: 57.28 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005941/7.788, allocations: 0.5421 MB / 3.039 GB, free: 56.74 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.2e-07/7.788, allocations: 4 kB / 3.039 GB, free: 56.74 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002571/7.791, allocations: 0.9244 MB / 3.04 GB, free: 55.81 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 64 * 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.004718/7.796, allocations: 4.709 MB / 3.044 GB, free: 50.94 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001784/7.798, allocations: 1.153 MB / 3.045 GB, free: 49.79 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/7.798, allocations: 0 / 3.045 GB, free: 49.79 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004209/7.798, allocations: 363.8 kB / 3.046 GB, free: 49.43 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/7.801, allocations: 0.4998 MB / 3.046 GB, free: 48.93 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003912/7.804, allocations: 1.906 MB / 3.048 GB, free: 46.94 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005418/7.805, allocations: 1.098 MB / 3.049 GB, free: 45.82 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001672/7.807, allocations: 496 kB / 3.05 GB, free: 45.33 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004329/7.807, allocations: 319.3 kB / 3.05 GB, free: 45.02 MB / 0.6823 GB Notification: Performance of SimCode: time 9.72e-07/7.807, allocations: 0 / 3.05 GB, free: 45.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5173/8.324, allocations: 55.18 MB / 3.104 GB, free: 132 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002534/8.325, allocations: 202.4 kB / 3.104 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.835/12.16, allocations: 0 / 3.104 GB, free: 131.8 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)