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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001382, allocations: 178.4 kB / 7.65 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.7469/0.7469, allocations: 133.6 MB / 141.6 MB, free: 2.832 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.48/1.48, allocations: 221.5 MB / 395.4 MB, free: 10.76 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.000881/0.000881, allocations: 102.7 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.953e-05/1.957e-05, allocations: 4 kB / 0.5535 GB, free: 8.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4522/0.4523, allocations: 82.3 MB / 0.6339 GB, free: 40.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.462/5.914, allocations: 1.88 GB / 2.514 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/5.915, allocations: 94.88 kB / 2.514 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.006/6.92, allocations: 259.5 MB / 2.767 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.723e-06/6.921, allocations: 0 / 2.767 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.929e-05/6.921, allocations: 12 kB / 2.768 GB, free: 139.7 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.001804/6.922, allocations: 0.7947 MB / 2.768 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/6.922, allocations: 12.03 kB / 2.768 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/6.924, allocations: 172.9 kB / 2.768 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/6.925, allocations: 0.5208 MB / 2.769 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/6.925, allocations: 16 kB / 2.769 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.879e-05/6.925, allocations: 24 kB / 2.769 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006538/6.926, allocations: 362.4 kB / 2.769 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007168/6.926, allocations: 444.2 kB / 2.77 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/6.927, allocations: 0 / 2.77 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.569e-05/6.927, allocations: 4 kB / 2.77 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.836e-05/6.927, allocations: 17.3 kB / 2.77 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002518/6.929, allocations: 1.607 MB / 2.771 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/6.93, allocations: 274.8 kB / 2.772 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/6.93, allocations: 160.8 kB / 2.772 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001753/6.93, allocations: 101.1 kB / 2.772 GB, free: 135 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/6.93, allocations: 34.56 kB / 2.772 GB, free: 135 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 1.753e-06/6.93, allocations: 0 / 2.772 GB, free: 135 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001655/6.932, allocations: 0.8685 MB / 2.773 GB, free: 134 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/6.932, allocations: 63.34 kB / 2.773 GB, free: 134 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/6.932, allocations: 286.4 kB / 2.773 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/6.932, allocations: 33.69 kB / 2.773 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/6.932, allocations: 252 kB / 2.773 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.144e-05/6.932, allocations: 114.3 kB / 2.773 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.497e-05/6.932, allocations: 0 / 2.773 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.538e-05/6.932, allocations: 354.7 kB / 2.774 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/6.932, allocations: 116 kB / 2.774 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/6.933, allocations: 199.3 kB / 2.774 GB, free: 132.6 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.001328/6.934, allocations: 0.5338 MB / 2.775 GB, free: 132 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/6.934, allocations: 0 / 2.775 GB, free: 132 MB / 0.6823 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004581/6.934, allocations: 372.7 kB / 2.775 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/6.934, allocations: 4 kB / 2.775 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/6.934, allocations: 4 kB / 2.775 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/6.934, allocations: 4 kB / 2.775 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/6.935, allocations: 67.91 kB / 2.775 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/6.935, allocations: 192 / 2.775 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003885/6.935, allocations: 19.98 kB / 2.775 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/6.935, allocations: 16 kB / 2.775 GB, free: 131.5 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.0001169/6.935, allocations: 120.8 kB / 2.775 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003901/6.936, allocations: 317 kB / 2.776 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.946e-05/6.936, allocations: 47.52 kB / 2.776 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/6.936, allocations: 48.69 kB / 2.776 GB, free: 131 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/6.936, allocations: 4 kB / 2.776 GB, free: 131 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/6.936, allocations: 3.984 kB / 2.776 GB, free: 131 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003508/6.936, allocations: 376.3 kB / 2.776 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/6.938, allocations: 1.149 MB / 2.777 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/6.938, allocations: 4 kB / 2.777 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003245/6.938, allocations: 71.91 kB / 2.777 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/6.938, allocations: 4 kB / 2.777 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/6.938, allocations: 8 kB / 2.777 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.249e-06/6.938, allocations: 7.984 kB / 2.777 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/6.938, allocations: 7.938 kB / 2.777 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000743/6.939, allocations: 0.8756 MB / 2.778 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/6.939, allocations: 152.6 kB / 2.778 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.836e-05/6.939, allocations: 7.953 kB / 2.778 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/6.94, allocations: 23.89 kB / 2.778 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/6.94, allocations: 39.92 kB / 2.778 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-05/6.94, allocations: 19.98 kB / 2.778 GB, free: 128 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001973/6.94, allocations: 224.6 kB / 2.778 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/6.94, allocations: 0 / 2.778 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007399/6.941, allocations: 188 kB / 2.779 GB, free: 127.6 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.002574/6.943, allocations: 3.482 MB / 2.782 GB, free: 124 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004534/6.944, allocations: 287.9 kB / 2.782 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/6.944, allocations: 4 kB / 2.782 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/6.944, allocations: 145 kB / 2.782 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/6.945, allocations: 269.4 kB / 2.783 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/6.947, allocations: 0.9395 MB / 2.784 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/6.947, allocations: 0.9017 MB / 2.785 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004432/6.948, allocations: 112.2 kB / 2.785 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/6.948, allocations: 163.4 kB / 2.785 GB, free: 121 MB / 0.6823 GB Notification: Performance of SimCode: time 9.02e-07/6.948, allocations: 0 / 2.785 GB, free: 121 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04267/6.99, allocations: 19.1 MB / 2.803 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002817/6.991, allocations: 162.5 kB / 2.804 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.631/9.622, allocations: 3.938 kB / 2.804 GB, free: 101.9 MB / 0.6823 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)