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.00173/0.00173, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002025/0.002025, allocations: 192.1 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.362/2.362, allocations: 222.9 MB / 239.9 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.603/1.603, allocations: 135.1 MB / 425.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002503/0.002503, allocations: 64.44 kB / 0.505 GB, free: 5.562 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2288, allocations: 80.93 MB / 0.584 GB, free: 4.797 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.6794/0.9083, allocations: 168.5 MB / 0.7485 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009361/0.9177, allocations: 3.36 MB / 0.7518 GB, free: 228 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.9189, allocations: 18.69 kB / 0.7518 GB, free: 220 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001574/0.9205, allocations: 282.1 kB / 0.7521 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0045/0.925, allocations: 0.9528 MB / 0.753 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002967/0.928, allocations: 0.6085 MB / 0.7536 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00306/0.9311, allocations: 1.52 MB / 0.7551 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.9323, allocations: 475.8 kB / 0.7555 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001683/0.934, allocations: 0.5642 MB / 0.7561 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001978/0.936, allocations: 0.4888 MB / 0.7566 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002264/0.9363, allocations: 52 kB / 0.7566 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002956/0.9392, allocations: 0.8728 MB / 0.7575 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005005/0.9398, allocations: 235.4 kB / 0.7577 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008003/0.9406, allocations: 338.5 kB / 0.758 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002739/0.9433, allocations: 1.188 MB / 0.7592 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.9434, allocations: 0 / 0.7592 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9434, allocations: 4 kB / 0.7592 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.86e-05/0.9434, allocations: 0 / 0.7592 GB, free: 9.887 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.002735/0.9462, allocations: 0.9076 MB / 0.7601 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/0.9462, allocations: 19.95 kB / 0.7601 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002042/0.9465, allocations: 82.53 kB / 0.7602 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002376/0.9488, allocations: 175.2 kB / 0.7603 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.9502, allocations: 0.5013 MB / 0.7608 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.761e-05/0.9503, allocations: 40.94 kB / 0.7609 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.9505, allocations: 40 kB / 0.7609 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.952, allocations: 474.4 kB / 0.7613 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/0.9521, allocations: 0 / 0.7613 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.724e-05/0.9522, allocations: 16 kB / 0.7614 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.545e-05/0.9523, allocations: 17 kB / 0.7614 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.9535, allocations: 415.7 kB / 0.7618 GB, free: 7.125 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.004752/0.9583, allocations: 1.735 MB / 0.7635 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008292/0.9592, allocations: 306.8 kB / 0.7638 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004645/0.9596, allocations: 179.5 kB / 0.7639 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002807/0.9599, allocations: 101.1 kB / 0.764 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.96, allocations: 38.56 kB / 0.7641 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 3.106e-06/0.96, allocations: 0 / 0.7641 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.003554/0.9636, allocations: 1.049 MB / 0.7651 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.9637, allocations: 59.34 kB / 0.7651 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009166/0.9646, allocations: 457.9 kB / 0.7656 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.945e-05/0.9647, allocations: 33.7 kB / 0.7656 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002932/0.965, allocations: 252.1 kB / 0.7659 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.9652, allocations: 122.3 kB / 0.766 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.9654, allocations: 69.7 kB / 0.766 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002194/0.9657, allocations: 358.8 kB / 0.7664 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003832/0.9661, allocations: 127.9 kB / 0.7665 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004886/0.9666, allocations: 201.1 kB / 0.7667 GB, free: 1.797 MB / 0.5762 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.003491/0.9701, allocations: 0.8493 MB / 0.7675 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.9701, allocations: 0 / 0.7675 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00117/0.9713, allocations: 425.6 kB / 0.7679 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.9713, allocations: 6.812 kB / 0.7679 GB, free: 500 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.9713, allocations: 4.047 kB / 0.7679 GB, free: 496 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.9714, allocations: 3.984 kB / 0.7679 GB, free: 492 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005906/0.972, allocations: 67.91 kB / 0.768 GB, free: 424 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.972, allocations: 4 kB / 0.768 GB, free: 420 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008395/0.9729, allocations: 35.95 kB / 0.768 GB, free: 384 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.331e-05/0.973, allocations: 12 kB / 0.7681 GB, free: 372 kB / 0.5762 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.0004594/0.9734, allocations: 217.6 kB / 0.7683 GB, free: 144 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/0.9736, allocations: 51.44 kB / 0.7683 GB, free: 92 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001976/0.9739, allocations: 56.77 kB / 0.7684 GB, free: 36 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.9739, allocations: 4 kB / 0.7684 GB, free: 32 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.9739, allocations: 0 / 0.7684 GB, free: 32 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009354/0.9748, allocations: 409.1 kB / 0.7688 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003385/0.9782, allocations: 1.245 MB / 0.77 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/0.9783, allocations: 4 kB / 0.77 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006767/0.979, allocations: 77.47 kB / 0.7701 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.649e-05/0.979, allocations: 4 kB / 0.7701 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.389e-05/0.9791, allocations: 16.48 kB / 0.7701 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.081e-05/0.9791, allocations: 8 kB / 0.7701 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.766e-06/0.9791, allocations: 11.94 kB / 0.7701 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.9808, allocations: 0.7282 MB / 0.7708 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003981/0.9812, allocations: 168.4 kB / 0.771 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.9813, allocations: 12 kB / 0.771 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008566/0.9822, allocations: 31.91 kB / 0.771 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.741e-05/0.9823, allocations: 35.91 kB / 0.771 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.577e-05/0.9824, allocations: 23.81 kB / 0.7711 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006685/0.9831, allocations: 327.1 kB / 0.7714 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3e-07/0.9831, allocations: 0 / 0.7714 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001079/0.9842, allocations: 144 kB / 0.7715 GB, free: 12.6 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.002424/0.9867, allocations: 1.341 MB / 0.7728 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001055/0.9877, allocations: 340.4 kB / 0.7732 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/0.9878, allocations: 0 / 0.7732 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004168/0.9882, allocations: 160.9 kB / 0.7733 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003248/0.9915, allocations: 361.4 kB / 0.7736 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/1.002, allocations: 4.623 MB / 0.7782 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007593/1.003, allocations: 0.8862 MB / 0.779 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001049/1.004, allocations: 128.6 kB / 0.7792 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004314/1.004, allocations: 167.4 kB / 0.7793 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of SimCode: time 1.302e-06/1.004, allocations: 0 / 0.7793 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05597/1.06, allocations: 15.28 MB / 0.7942 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003187/1.061, allocations: 241.9 kB / 0.7945 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.216/4.277, allocations: 3.938 kB / 0.7945 GB, free: 5.133 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)