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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.0009768/0.000977, allocations: 172.5 kB / 7.647 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.749/0.749, allocations: 133.6 MB / 141.6 MB, free: 2.895 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.433/1.433, allocations: 221.5 MB / 395.4 MB, free: 10.83 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.0008795/0.0008795, allocations: 98.67 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.099e-05/2.101e-05, allocations: 4 kB / 0.5535 GB, free: 8.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4476/0.4477, allocations: 82.31 MB / 0.6339 GB, free: 40.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.273/5.72, allocations: 1.88 GB / 2.514 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/5.721, allocations: 86.58 kB / 2.514 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.08/6.801, allocations: 259.5 MB / 2.767 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.913e-06/6.801, allocations: 3.938 kB / 2.767 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.874e-05/6.801, allocations: 15.98 kB / 2.767 GB, free: 139.9 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.001444/6.803, allocations: 0.7984 MB / 2.768 GB, free: 139 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/6.803, allocations: 8.031 kB / 2.768 GB, free: 139 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/6.804, allocations: 176.9 kB / 2.768 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008246/6.805, allocations: 0.5208 MB / 2.769 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/6.805, allocations: 15.94 kB / 2.769 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.245e-05/6.805, allocations: 27.94 kB / 2.769 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000574/6.805, allocations: 370.4 kB / 2.769 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007047/6.806, allocations: 440.2 kB / 2.77 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/6.806, allocations: 7.984 kB / 2.77 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.587e-05/6.806, allocations: 0 / 2.77 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.683e-05/6.806, allocations: 13.31 kB / 2.77 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002084/6.808, allocations: 1.603 MB / 2.771 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003504/6.809, allocations: 274.8 kB / 2.772 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/6.809, allocations: 160.8 kB / 2.772 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001908/6.809, allocations: 105.1 kB / 2.772 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/6.809, allocations: 38.56 kB / 2.772 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 2.415e-06/6.809, allocations: 3.938 kB / 2.772 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001597/6.811, allocations: 0.8685 MB / 2.773 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/6.811, allocations: 59.34 kB / 2.773 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/6.811, allocations: 290.3 kB / 2.773 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/6.811, allocations: 25.7 kB / 2.773 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/6.811, allocations: 256 kB / 2.773 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.76e-05/6.811, allocations: 114.3 kB / 2.773 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.58e-05/6.811, allocations: 0 / 2.773 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001079/6.811, allocations: 358.8 kB / 2.774 GB, free: 133 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/6.812, allocations: 112 kB / 2.774 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/6.812, allocations: 191.4 kB / 2.774 GB, free: 132.7 MB / 0.6823 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.001285/6.813, allocations: 0.5371 MB / 2.775 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/6.813, allocations: 4 kB / 2.775 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004433/6.814, allocations: 360.8 kB / 2.775 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/6.814, allocations: 8 kB / 2.775 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/6.814, allocations: 4.188 kB / 2.775 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/6.814, allocations: 4 kB / 2.775 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003193/6.814, allocations: 75.84 kB / 2.775 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/6.814, allocations: 4 kB / 2.775 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00037/6.814, allocations: 11.98 kB / 2.775 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.955e-05/6.814, allocations: 12 kB / 2.775 GB, free: 131.7 MB / 0.6823 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 () * 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.0001038/6.814, allocations: 124.9 kB / 2.775 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004126/6.815, allocations: 309 kB / 2.776 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.516e-05/6.815, allocations: 43.53 kB / 2.776 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/6.815, allocations: 56.61 kB / 2.776 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/6.815, allocations: 4 kB / 2.776 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/6.815, allocations: 0 / 2.776 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003759/6.815, allocations: 376.3 kB / 2.776 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/6.817, allocations: 1.145 MB / 2.777 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/6.817, allocations: 4 kB / 2.777 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003172/6.817, allocations: 71.91 kB / 2.777 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-06/6.817, allocations: 4 kB / 2.777 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/6.817, allocations: 15.94 kB / 2.777 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/6.817, allocations: 8.484 kB / 2.777 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/6.817, allocations: 8 kB / 2.777 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007536/6.818, allocations: 0.8794 MB / 2.778 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/6.818, allocations: 156.6 kB / 2.778 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.138e-05/6.818, allocations: 11.95 kB / 2.778 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003869/6.819, allocations: 23.95 kB / 2.778 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/6.819, allocations: 31.92 kB / 2.778 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/6.819, allocations: 23.92 kB / 2.778 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001897/6.819, allocations: 224.6 kB / 2.779 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/6.819, allocations: 4 kB / 2.779 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007223/6.82, allocations: 192 kB / 2.779 GB, free: 127.7 MB / 0.6823 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 () * 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.002455/6.822, allocations: 3.46 MB / 2.782 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004322/6.823, allocations: 296.2 kB / 2.782 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/6.823, allocations: 4 kB / 2.782 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/6.823, allocations: 147.8 kB / 2.782 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/6.824, allocations: 251.8 kB / 2.783 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/6.826, allocations: 0.9472 MB / 2.784 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/6.826, allocations: 0.8939 MB / 2.785 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004331/6.826, allocations: 112.2 kB / 2.785 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/6.827, allocations: 167.4 kB / 2.785 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of SimCode: time 3e-07/6.827, allocations: 0 / 2.785 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04481/6.871, allocations: 19.11 MB / 2.803 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/6.872, allocations: 175.3 kB / 2.804 GB, free: 102 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.935/9.807, allocations: 3.938 kB / 2.804 GB, free: 102 MB / 0.6823 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/linux/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)