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.001006/0.001006, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001035/0.001035, allocations: 189.6 kB / 16.25 MB, free: 6.633 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.229/1.229, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6935/0.6935, allocations: 132.2 MB / 422.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 59.97 kB / 0.5013 GB, free: 4.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3013, allocations: 80.21 MB / 0.5797 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1492/0.4505, allocations: 168.5 MB / 0.7442 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004621/0.4551, allocations: 3.35 MB / 0.7475 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004373/0.4556, allocations: 19.88 kB / 0.7475 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007402/0.4564, allocations: 286.5 kB / 0.7478 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001832/0.4582, allocations: 0.9454 MB / 0.7487 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.4596, allocations: 0.6168 MB / 0.7493 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00145/0.461, allocations: 1.521 MB / 0.7508 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005441/0.4616, allocations: 473.4 kB / 0.7512 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000699/0.4623, allocations: 0.5681 MB / 0.7518 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008536/0.4631, allocations: 0.4925 MB / 0.7523 GB, free: 392 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.511e-05/0.4632, allocations: 56 kB / 0.7523 GB, free: 336 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.4645, allocations: 0.865 MB / 0.7532 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002075/0.4647, allocations: 243.4 kB / 0.7534 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003232/0.465, allocations: 334.5 kB / 0.7537 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.4662, allocations: 1.184 MB / 0.7549 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.4662, allocations: 4 kB / 0.7549 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4662, allocations: 0 / 0.7549 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.4662, allocations: 0 / 0.7549 GB, free: 13.7 MB / 0.5919 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.001175/0.4674, allocations: 0.9193 MB / 0.7558 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.4674, allocations: 8.031 kB / 0.7558 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.896e-05/0.4675, allocations: 86.53 kB / 0.7559 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.4686, allocations: 167.2 kB / 0.756 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006845/0.4693, allocations: 0.5052 MB / 0.7565 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.4693, allocations: 33 kB / 0.7565 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.47e-05/0.4694, allocations: 44 kB / 0.7566 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006779/0.4701, allocations: 474.4 kB / 0.757 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.4701, allocations: 3.938 kB / 0.757 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.439e-05/0.4702, allocations: 20 kB / 0.7571 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/0.4702, allocations: 17 kB / 0.7571 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005552/0.4708, allocations: 407.7 kB / 0.7575 GB, free: 10.95 MB / 0.5919 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.002253/0.473, allocations: 1.739 MB / 0.7592 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004388/0.4735, allocations: 316.2 kB / 0.7595 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.4737, allocations: 180.7 kB / 0.7596 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001525/0.4738, allocations: 97.09 kB / 0.7597 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.4739, allocations: 38.56 kB / 0.7598 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 1.473e-06/0.4739, allocations: 0 / 0.7598 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001722/0.4756, allocations: 1.049 MB / 0.7608 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.4757, allocations: 59.41 kB / 0.7609 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004549/0.4761, allocations: 461.8 kB / 0.7613 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.4762, allocations: 33.7 kB / 0.7613 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.4763, allocations: 248.1 kB / 0.7616 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.422e-05/0.4764, allocations: 118.3 kB / 0.7617 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.559e-05/0.4765, allocations: 69.7 kB / 0.7617 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.4767, allocations: 358.7 kB / 0.7621 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.4768, allocations: 123.9 kB / 0.7622 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.4771, allocations: 202.7 kB / 0.7624 GB, free: 5.609 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.001688/0.4788, allocations: 0.8516 MB / 0.7632 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.4788, allocations: 0 / 0.7632 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005187/0.4793, allocations: 410.5 kB / 0.7636 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.4793, allocations: 8 kB / 0.7636 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.4793, allocations: 0 / 0.7636 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.4793, allocations: 4.188 kB / 0.7636 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.4796, allocations: 75.91 kB / 0.7637 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.4796, allocations: 4 kB / 0.7637 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003793/0.48, allocations: 30.16 kB / 0.7637 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.48, allocations: 19.94 kB / 0.7638 GB, free: 4.176 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.0001988/0.4802, allocations: 221.7 kB / 0.764 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.943e-05/0.4803, allocations: 47.44 kB / 0.764 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.4804, allocations: 56.77 kB / 0.7641 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.4804, allocations: 4 kB / 0.7641 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4805, allocations: 0 / 0.7641 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004135/0.4809, allocations: 413.1 kB / 0.7645 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/0.4823, allocations: 1.247 MB / 0.7657 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.319e-06/0.4824, allocations: 8 kB / 0.7657 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003167/0.4827, allocations: 71.89 kB / 0.7658 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.4827, allocations: 11.94 kB / 0.7658 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.4827, allocations: 12 kB / 0.7658 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.4827, allocations: 4 kB / 0.7658 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.4828, allocations: 7.938 kB / 0.7658 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007279/0.4835, allocations: 0.7272 MB / 0.7665 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/0.4837, allocations: 164.5 kB / 0.7667 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.204e-05/0.4838, allocations: 16.05 kB / 0.7667 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003992/0.4842, allocations: 31.92 kB / 0.7667 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.4842, allocations: 35.84 kB / 0.7667 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.61e-05/0.4843, allocations: 20 kB / 0.7668 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002906/0.4845, allocations: 327.1 kB / 0.7671 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4846, allocations: 0 / 0.7671 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004465/0.485, allocations: 144 kB / 0.7672 GB, free: 416 kB / 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.001142/0.4862, allocations: 1.338 MB / 0.7685 GB, free: 15 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004747/0.4866, allocations: 352.2 kB / 0.7689 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4867, allocations: 0 / 0.7689 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.4869, allocations: 163.7 kB / 0.769 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/0.4883, allocations: 363.6 kB / 0.7694 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004695/0.493, allocations: 4.617 MB / 0.7739 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.4934, allocations: 0.89 MB / 0.7747 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004095/0.4938, allocations: 136.6 kB / 0.7749 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/0.494, allocations: 167.4 kB / 0.775 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of SimCode: time 3.71e-07/0.494, allocations: 4 kB / 0.775 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.456/1.95, allocations: 15.25 MB / 0.7899 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002536/1.95, allocations: 248.7 kB / 0.7902 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.033/3.984, allocations: 3.938 kB / 0.7902 GB, free: 8.957 MB / 0.6231 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/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)