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.001053/0.001053, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 196 kB / 16.53 MB, free: 6.664 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.269/1.269, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8833/0.8833, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 69.2 kB / 0.5054 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.139, allocations: 80.92 MB / 0.5845 GB, free: 4.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.3726/0.5116, allocations: 170.8 MB / 0.7512 GB, free: 464 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004906/0.5166, allocations: 3.373 MB / 0.7545 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005247/0.5171, allocations: 27.12 kB / 0.7545 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007719/0.518, allocations: 314.5 kB / 0.7548 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002011/0.52, allocations: 1.015 MB / 0.7558 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.5214, allocations: 0.6586 MB / 0.7565 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001362/0.5228, allocations: 1.521 MB / 0.758 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005444/0.5233, allocations: 481.4 kB / 0.7584 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006863/0.524, allocations: 0.5564 MB / 0.759 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008476/0.5249, allocations: 469.3 kB / 0.7594 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.915e-05/0.525, allocations: 60 kB / 0.7595 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00131/0.5263, allocations: 0.8301 MB / 0.7603 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002216/0.5265, allocations: 239.4 kB / 0.7605 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003014/0.5269, allocations: 338.5 kB / 0.7608 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.5281, allocations: 1.13 MB / 0.7619 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.5281, allocations: 0 / 0.7619 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.021e-06/0.5281, allocations: 0 / 0.7619 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.5281, allocations: 0 / 0.7619 GB, free: 7.211 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.001216/0.5293, allocations: 0.9193 MB / 0.7628 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.5293, allocations: 12.03 kB / 0.7628 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.783e-05/0.5295, allocations: 78.53 kB / 0.7629 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.5306, allocations: 179.1 kB / 0.7631 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006365/0.5312, allocations: 0.5013 MB / 0.7636 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.5312, allocations: 29 kB / 0.7636 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.663e-05/0.5313, allocations: 47.98 kB / 0.7637 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000685/0.532, allocations: 470.4 kB / 0.7641 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.532, allocations: 0 / 0.7641 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.948e-05/0.5321, allocations: 20 kB / 0.7641 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.5321, allocations: 24.94 kB / 0.7641 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005921/0.5327, allocations: 415.7 kB / 0.7645 GB, free: 4.441 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.002229/0.5349, allocations: 1.732 MB / 0.7662 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.5354, allocations: 310.8 kB / 0.7665 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002346/0.5356, allocations: 188.3 kB / 0.7667 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001525/0.5358, allocations: 93.09 kB / 0.7668 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.5358, allocations: 42.56 kB / 0.7668 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.935e-06/0.5358, allocations: 0 / 0.7668 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001782/0.5376, allocations: 1.058 MB / 0.7679 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.5377, allocations: 55.41 kB / 0.7679 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004351/0.5381, allocations: 453.9 kB / 0.7684 GB, free: 300 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.5382, allocations: 41.7 kB / 0.7684 GB, free: 252 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.5383, allocations: 252.3 kB / 0.7686 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.61e-05/0.5384, allocations: 118.3 kB / 0.7687 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.5385, allocations: 65.7 kB / 0.7688 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.5387, allocations: 358.8 kB / 0.7692 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.5389, allocations: 119.9 kB / 0.7693 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.5391, allocations: 205.1 kB / 0.7695 GB, free: 15.1 MB / 0.5919 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.001761/0.5409, allocations: 0.851 MB / 0.7703 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.5409, allocations: 0 / 0.7703 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005741/0.5415, allocations: 417.6 kB / 0.7707 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.5415, allocations: 11.94 kB / 0.7707 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.5415, allocations: 0 / 0.7707 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.5415, allocations: 4 kB / 0.7707 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/0.5418, allocations: 75.84 kB / 0.7708 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.5418, allocations: 4.188 kB / 0.7708 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000374/0.5422, allocations: 18.12 kB / 0.7708 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.5423, allocations: 19.98 kB / 0.7708 GB, free: 13.67 MB / 0.5919 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.0002189/0.5425, allocations: 207.7 kB / 0.771 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.98e-05/0.5426, allocations: 55.44 kB / 0.7711 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.772e-05/0.5427, allocations: 52.77 kB / 0.7711 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.5427, allocations: 4 kB / 0.7711 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5427, allocations: 3.938 kB / 0.7711 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004532/0.5432, allocations: 416.4 kB / 0.7715 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.5448, allocations: 1.249 MB / 0.7727 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.5448, allocations: 4 kB / 0.7728 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003347/0.5451, allocations: 75.89 kB / 0.7728 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.5451, allocations: 4.5 kB / 0.7728 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.5452, allocations: 16 kB / 0.7728 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.5452, allocations: 7.938 kB / 0.7729 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.515e-05/0.5452, allocations: 8 kB / 0.7729 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007749/0.546, allocations: 0.7204 MB / 0.7736 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/0.5462, allocations: 164.5 kB / 0.7737 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.064e-05/0.5462, allocations: 15.98 kB / 0.7737 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/0.5466, allocations: 23.12 kB / 0.7738 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.5467, allocations: 35.97 kB / 0.7738 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-05/0.5467, allocations: 15.98 kB / 0.7738 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003126/0.5471, allocations: 331.1 kB / 0.7741 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5471, allocations: 0 / 0.7741 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004972/0.5476, allocations: 144 kB / 0.7743 GB, free: 9.93 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 (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.001255/0.5488, allocations: 1.323 MB / 0.7756 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005541/0.5494, allocations: 348.4 kB / 0.7759 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.5494, allocations: 0 / 0.7759 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000212/0.5496, allocations: 168.8 kB / 0.776 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/0.5513, allocations: 364.4 kB / 0.7764 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004746/0.556, allocations: 4.472 MB / 0.7808 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.5564, allocations: 0.8862 MB / 0.7816 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004535/0.5569, allocations: 136.6 kB / 0.7818 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/0.5571, allocations: 167.4 kB / 0.7819 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.5571, allocations: 0 / 0.7819 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8152/1.372, allocations: 15.42 MB / 0.797 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.651/9.023, allocations: 7.562 kB / 0.797 GB, free: 2.668 MB / 0.6075 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)