Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="IDEAS_dev_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.006725/0.006725, allocations: 99.8 kB / 15.73 MB, free: 6.496 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.001488/0.001488, allocations: 199 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8914/0.8914, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 63.91 kB / 0.5851 GB, free: 3.844 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4623/0.4636, allocations: 80.91 MB / 0.6642 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1889/0.6526, allocations: 170.8 MB / 0.8309 GB, free: 6.191 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005399/0.6581, allocations: 3.385 MB / 0.8342 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007759/0.6589, allocations: 19.88 kB / 0.8342 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009603/0.6598, allocations: 334.1 kB / 0.8346 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002631/0.6625, allocations: 1.054 MB / 0.8356 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001764/0.6643, allocations: 0.6615 MB / 0.8362 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002004/0.6663, allocations: 1.533 MB / 0.8377 GB, free: 15.2 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006875/0.667, allocations: 477.5 kB / 0.8382 GB, free: 14.73 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.6681, allocations: 0.5915 MB / 0.8388 GB, free: 14.13 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.6692, allocations: 464 kB / 0.8392 GB, free: 13.68 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 9.955e-05/0.6693, allocations: 56 kB / 0.8393 GB, free: 13.62 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001891/0.6712, allocations: 0.8379 MB / 0.8401 GB, free: 12.79 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000313/0.6715, allocations: 239.4 kB / 0.8403 GB, free: 12.55 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004852/0.672, allocations: 338.5 kB / 0.8406 GB, free: 12.22 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002219/0.6742, allocations: 1.141 MB / 0.8417 GB, free: 11.07 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.6743, allocations: 0 / 0.8417 GB, free: 11.07 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.705e-06/0.6743, allocations: 0 / 0.8417 GB, free: 11.07 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.425e-05/0.6743, allocations: 0 / 0.8417 GB, free: 11.07 MB / 0.67 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.001529/0.6758, allocations: 0.9038 MB / 0.8426 GB, free: 10.12 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.6759, allocations: 12.03 kB / 0.8426 GB, free: 10.11 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.888e-05/0.676, allocations: 86.52 kB / 0.8427 GB, free: 10.02 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.6772, allocations: 171.1 kB / 0.8429 GB, free: 9.848 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009046/0.6781, allocations: 0.5324 MB / 0.8434 GB, free: 9.277 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.6781, allocations: 29 kB / 0.8434 GB, free: 9.25 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.533e-05/0.6782, allocations: 47.98 kB / 0.8435 GB, free: 9.203 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007989/0.679, allocations: 470.4 kB / 0.8439 GB, free: 8.738 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.679, allocations: 3.984 kB / 0.8439 GB, free: 8.734 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/0.6791, allocations: 20 kB / 0.844 GB, free: 8.715 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.681e-05/0.6791, allocations: 17 kB / 0.844 GB, free: 8.699 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006347/0.6798, allocations: 407.7 kB / 0.8444 GB, free: 8.301 MB / 0.67 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.002501/0.6823, allocations: 1.724 MB / 0.846 GB, free: 6.445 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004548/0.6827, allocations: 308.2 kB / 0.8463 GB, free: 6.137 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/0.683, allocations: 187.8 kB / 0.8465 GB, free: 5.953 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001989/0.6832, allocations: 97.09 kB / 0.8466 GB, free: 5.84 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.6833, allocations: 42.53 kB / 0.8466 GB, free: 5.789 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 2.214e-06/0.6833, allocations: 7.938 kB / 0.8467 GB, free: 5.781 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.002007/0.6853, allocations: 1.05 MB / 0.8477 GB, free: 4.68 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.6853, allocations: 55.41 kB / 0.8477 GB, free: 4.613 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004777/0.6858, allocations: 453.9 kB / 0.8482 GB, free: 4.156 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/0.6859, allocations: 33.7 kB / 0.8482 GB, free: 4.117 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.686, allocations: 260 kB / 0.8484 GB, free: 3.859 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.6862, allocations: 118.3 kB / 0.8486 GB, free: 3.742 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.6863, allocations: 69.61 kB / 0.8486 GB, free: 3.668 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.6864, allocations: 366.7 kB / 0.849 GB, free: 3.301 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.6866, allocations: 123.9 kB / 0.8491 GB, free: 3.18 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/0.6869, allocations: 194.8 kB / 0.8493 GB, free: 2.965 MB / 0.67 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.001843/0.6887, allocations: 0.8525 MB / 0.8501 GB, free: 2.078 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6887, allocations: 4 kB / 0.8501 GB, free: 2.074 MB / 0.67 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006042/0.6893, allocations: 417.8 kB / 0.8505 GB, free: 1.66 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.6894, allocations: 8 kB / 0.8505 GB, free: 1.652 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.6894, allocations: 0 / 0.8505 GB, free: 1.652 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.6894, allocations: 4 kB / 0.8505 GB, free: 1.648 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.6897, allocations: 75.84 kB / 0.8506 GB, free: 1.574 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.6897, allocations: 4 kB / 0.8506 GB, free: 1.57 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003732/0.6901, allocations: 15.11 kB / 0.8506 GB, free: 1.559 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/0.6902, allocations: 16 kB / 0.8506 GB, free: 1.543 MB / 0.67 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002545/0.6904, allocations: 205.7 kB / 0.8508 GB, free: 1.332 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.647e-05/0.6905, allocations: 55.44 kB / 0.8509 GB, free: 1.277 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.6906, allocations: 64.75 kB / 0.8509 GB, free: 1.215 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.6907, allocations: 0 / 0.8509 GB, free: 1.215 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.6907, allocations: 4 kB / 0.8509 GB, free: 1.211 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004858/0.6912, allocations: 405.1 kB / 0.8513 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.6929, allocations: 1.245 MB / 0.8525 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.6929, allocations: 4 kB / 0.8526 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003439/0.6933, allocations: 75.89 kB / 0.8526 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.178e-06/0.6933, allocations: 8 kB / 0.8526 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.6933, allocations: 8 kB / 0.8526 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/0.6933, allocations: 11.94 kB / 0.8527 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.6933, allocations: 4 kB / 0.8527 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008421/0.6942, allocations: 0.7347 MB / 0.8534 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/0.6944, allocations: 164.5 kB / 0.8535 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.956e-05/0.6945, allocations: 15.92 kB / 0.8535 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003847/0.6949, allocations: 25.56 kB / 0.8536 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.6949, allocations: 39.78 kB / 0.8536 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.541e-05/0.695, allocations: 19.98 kB / 0.8536 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003406/0.6953, allocations: 327.1 kB / 0.8539 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6953, allocations: 0 / 0.8539 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0006154/0.696, allocations: 144 kB / 0.8541 GB, free: 13.79 MB / 0.6856 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001375/0.6974, allocations: 1.338 MB / 0.8554 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005625/0.6979, allocations: 324.3 kB / 0.8557 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.6979, allocations: 4 kB / 0.8557 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.6982, allocations: 166.5 kB / 0.8559 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.6997, allocations: 350.8 kB / 0.8562 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005481/0.7052, allocations: 4.398 MB / 0.8605 GB, free: 6.949 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005262/0.7058, allocations: 0.8823 MB / 0.8613 GB, free: 6.039 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005307/0.7063, allocations: 132.6 kB / 0.8615 GB, free: 5.906 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/0.7066, allocations: 167.4 kB / 0.8616 GB, free: 5.742 MB / 0.6856 GB Notification: Performance of SimCode: time 7.42e-07/0.7066, allocations: 0 / 0.8616 GB, free: 5.742 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.381/1.088, allocations: 15.5 MB / 0.8768 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.396/9.483, allocations: 15.97 kB / 0.8768 GB, free: 189.5 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)