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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000768/0.0007676, allocations: 91.38 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008488/0.0008489, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 223.3 MB / 240 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7364/0.7364, allocations: 132.3 MB / 423.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.00033, allocations: 8 kB / 0.5035 GB, free: 4.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4038, allocations: 81.57 MB / 0.5831 GB, free: 3.879 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1611/0.5649, allocations: 155.2 MB / 0.7347 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004998/0.5699, allocations: 3.188 MB / 0.7378 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004564/0.5704, allocations: 19.88 kB / 0.7378 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007379/0.5712, allocations: 206.7 kB / 0.738 GB, free: 1.52 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001962/0.5731, allocations: 0.7503 MB / 0.7387 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.5746, allocations: 496.3 kB / 0.7392 GB, free: 292 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001921/0.5765, allocations: 1.786 MB / 0.741 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005352/0.577, allocations: 363.2 kB / 0.7413 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007171/0.5778, allocations: 482 kB / 0.7418 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005753/0.5784, allocations: 446.3 kB / 0.7422 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.793e-05/0.5784, allocations: 24 kB / 0.7422 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009837/0.5794, allocations: 427 kB / 0.7426 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002097/0.5796, allocations: 203.4 kB / 0.7428 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.5798, allocations: 145.5 kB / 0.743 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007976/0.5806, allocations: 0.7754 MB / 0.7437 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.5806, allocations: 0 / 0.7437 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5806, allocations: 4 kB / 0.7437 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.5806, allocations: 0 / 0.7437 GB, free: 11.66 MB / 0.5762 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.001205/0.5818, allocations: 0.7964 MB / 0.7445 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.5819, allocations: 8.031 kB / 0.7445 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.504e-05/0.582, allocations: 82.53 kB / 0.7446 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.5831, allocations: 179 kB / 0.7447 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000642/0.5837, allocations: 497.7 kB / 0.7452 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.5838, allocations: 33 kB / 0.7453 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.9e-05/0.5838, allocations: 44 kB / 0.7453 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007474/0.5846, allocations: 470.4 kB / 0.7457 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.5846, allocations: 0 / 0.7457 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.6e-05/0.5847, allocations: 16 kB / 0.7458 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-05/0.5847, allocations: 28.94 kB / 0.7458 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006092/0.5853, allocations: 403.8 kB / 0.7462 GB, free: 9.035 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.002274/0.5876, allocations: 1.74 MB / 0.7479 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004687/0.5881, allocations: 302.8 kB / 0.7482 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/0.5884, allocations: 184.7 kB / 0.7483 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001874/0.5886, allocations: 101.1 kB / 0.7484 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.5886, allocations: 34.56 kB / 0.7485 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.954e-06/0.5886, allocations: 0 / 0.7485 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.002084/0.5907, allocations: 1.057 MB / 0.7495 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/0.5908, allocations: 59.34 kB / 0.7496 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004812/0.5913, allocations: 445.9 kB / 0.75 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.5913, allocations: 33.7 kB / 0.75 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.5915, allocations: 260 kB / 0.7503 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.255e-05/0.5916, allocations: 110.3 kB / 0.7504 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.865e-05/0.5916, allocations: 8 kB / 0.7504 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.5918, allocations: 362.8 kB / 0.7507 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.592, allocations: 123.9 kB / 0.7508 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.5922, allocations: 190.8 kB / 0.751 GB, free: 3.785 MB / 0.5762 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.001314/0.5935, allocations: 0.5473 MB / 0.7516 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5936, allocations: 3.953 kB / 0.7516 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005624/0.5941, allocations: 408.6 kB / 0.7519 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.5942, allocations: 9.875 kB / 0.752 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.5942, allocations: 0 / 0.752 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.5942, allocations: 8.188 kB / 0.752 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.5945, allocations: 71.91 kB / 0.752 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.5945, allocations: 4 kB / 0.752 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003536/0.5949, allocations: 23.92 kB / 0.7521 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.5949, allocations: 15.98 kB / 0.7521 GB, free: 2.68 MB / 0.5762 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 () * Number of clocked 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.0002377/0.5951, allocations: 217.6 kB / 0.7523 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.899e-05/0.5952, allocations: 51.39 kB / 0.7523 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.5954, allocations: 60.77 kB / 0.7524 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.5954, allocations: 7.984 kB / 0.7524 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.5954, allocations: 0 / 0.7524 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004568/0.5958, allocations: 405.1 kB / 0.7528 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.5975, allocations: 1.245 MB / 0.754 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.5975, allocations: 4 kB / 0.754 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.5978, allocations: 75.89 kB / 0.7541 GB, free: 492 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/0.5979, allocations: 7.953 kB / 0.7541 GB, free: 484 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/0.5979, allocations: 12 kB / 0.7541 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.5979, allocations: 4 kB / 0.7541 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.5979, allocations: 7.938 kB / 0.7541 GB, free: 460 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007972/0.5987, allocations: 0.7116 MB / 0.7548 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/0.5989, allocations: 164.5 kB / 0.755 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.976e-05/0.599, allocations: 24 kB / 0.755 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000392/0.5994, allocations: 36.48 kB / 0.755 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.5995, allocations: 35.86 kB / 0.755 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.953e-05/0.5995, allocations: 16 kB / 0.7551 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003335/0.5998, allocations: 331.1 kB / 0.7554 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5998, allocations: 0 / 0.7554 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005161/0.6004, allocations: 144 kB / 0.7555 GB, free: 14.92 MB / 0.5919 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 () * Number of clocked 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.001273/0.6016, allocations: 1.321 MB / 0.7568 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000498/0.6022, allocations: 321.2 kB / 0.7571 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6022, allocations: 0 / 0.7571 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.6024, allocations: 159.7 kB / 0.7573 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/0.6039, allocations: 359.1 kB / 0.7576 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004179/0.6081, allocations: 3.087 MB / 0.7606 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.6086, allocations: 0.8861 MB / 0.7615 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004951/0.6091, allocations: 132.6 kB / 0.7616 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.6094, allocations: 167.4 kB / 0.7618 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of SimCode: time 5.82e-07/0.6094, allocations: 0 / 0.7618 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02668/0.6361, allocations: 15.07 MB / 0.7765 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/0.6363, allocations: 231 kB / 0.7767 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.997/2.633, allocations: 0 / 0.7767 GB, free: 9.359 MB / 0.6075 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) Environment - environmentSimulation: