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.001451/0.001451, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001729/0.001729, allocations: 192.2 kB / 16.13 MB, free: 6.719 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.275/1.275, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7305/0.7305, allocations: 132.2 MB / 422.1 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 56.34 kB / 0.5012 GB, free: 4.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3407, allocations: 80.2 MB / 0.5795 GB, free: 4.449 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1621/0.5029, allocations: 168.5 MB / 0.7441 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0051/0.508, allocations: 3.417 MB / 0.7474 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005017/0.5086, allocations: 19.88 kB / 0.7474 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007721/0.5094, allocations: 270.5 kB / 0.7477 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001976/0.5114, allocations: 0.9571 MB / 0.7486 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.5128, allocations: 0.6009 MB / 0.7492 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001876/0.5147, allocations: 2.102 MB / 0.7513 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004938/0.5152, allocations: 412.9 kB / 0.7517 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006865/0.5159, allocations: 493.9 kB / 0.7521 GB, free: 284 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000958/0.5168, allocations: 490.1 kB / 0.7526 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.639e-05/0.5169, allocations: 28 kB / 0.7526 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.5184, allocations: 0.9468 MB / 0.7536 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002152/0.5187, allocations: 211.3 kB / 0.7538 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003026/0.519, allocations: 302.6 kB / 0.754 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.5202, allocations: 1.161 MB / 0.7552 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.5202, allocations: 3.984 kB / 0.7552 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of FrontEnd: time 7.81e-07/0.5202, allocations: 0 / 0.7552 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.5202, allocations: 0 / 0.7552 GB, free: 13.15 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.00129/0.5215, allocations: 0.9166 MB / 0.7561 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.5216, allocations: 8.031 kB / 0.7561 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.27e-05/0.5217, allocations: 82.52 kB / 0.7562 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.5229, allocations: 171.2 kB / 0.7563 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006689/0.5235, allocations: 0.5052 MB / 0.7568 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.5236, allocations: 29 kB / 0.7568 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.655e-05/0.5236, allocations: 40 kB / 0.7569 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007572/0.5244, allocations: 482.3 kB / 0.7573 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.5244, allocations: 0 / 0.7573 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.646e-05/0.5245, allocations: 20 kB / 0.7574 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.934e-05/0.5245, allocations: 16.98 kB / 0.7574 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006133/0.5251, allocations: 411.8 kB / 0.7578 GB, free: 10.39 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.00229/0.5274, allocations: 1.734 MB / 0.7595 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000449/0.5279, allocations: 314.8 kB / 0.7598 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/0.5282, allocations: 192.6 kB / 0.76 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/0.5283, allocations: 97.08 kB / 0.76 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.5284, allocations: 38.56 kB / 0.7601 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 1.703e-06/0.5284, allocations: 4 kB / 0.7601 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001889/0.5303, allocations: 1.045 MB / 0.7611 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.5303, allocations: 55.41 kB / 0.7612 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004635/0.5308, allocations: 453.9 kB / 0.7616 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.5308, allocations: 37.7 kB / 0.7616 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.531, allocations: 252.1 kB / 0.7619 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.823e-05/0.5311, allocations: 114.3 kB / 0.762 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.5312, allocations: 73.69 kB / 0.762 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.5314, allocations: 354.7 kB / 0.7624 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.5316, allocations: 127.9 kB / 0.7625 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.5318, allocations: 210.7 kB / 0.7627 GB, free: 5.047 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.001868/0.5337, allocations: 0.8429 MB / 0.7635 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5337, allocations: 4 kB / 0.7635 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005927/0.5343, allocations: 414.5 kB / 0.7639 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.5343, allocations: 7.984 kB / 0.7639 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.5344, allocations: 4 kB / 0.7639 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.5344, allocations: 4 kB / 0.7639 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.5347, allocations: 71.91 kB / 0.764 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.5347, allocations: 7.984 kB / 0.764 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004033/0.5351, allocations: 30.25 kB / 0.764 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.442e-05/0.5352, allocations: 16 kB / 0.7641 GB, free: 3.613 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.0002256/0.5354, allocations: 209.7 kB / 0.7643 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.898e-05/0.5355, allocations: 47.44 kB / 0.7643 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.5356, allocations: 64.75 kB / 0.7644 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.5356, allocations: 4 kB / 0.7644 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5356, allocations: 4 kB / 0.7644 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004769/0.5361, allocations: 409 kB / 0.7648 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/0.5378, allocations: 1.237 MB / 0.766 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.5378, allocations: 8.438 kB / 0.766 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003557/0.5381, allocations: 83.83 kB / 0.7661 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.5381, allocations: 8 kB / 0.7661 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.5382, allocations: 8 kB / 0.7661 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.5382, allocations: 8 kB / 0.7661 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.5382, allocations: 7.938 kB / 0.7661 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008298/0.539, allocations: 0.7271 MB / 0.7668 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.5392, allocations: 168.5 kB / 0.767 GB, free: 416 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.889e-05/0.5393, allocations: 8 kB / 0.767 GB, free: 408 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004351/0.5398, allocations: 32.92 kB / 0.767 GB, free: 376 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.5398, allocations: 39.78 kB / 0.767 GB, free: 336 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-05/0.5399, allocations: 23.98 kB / 0.7671 GB, free: 312 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003514/0.5402, allocations: 331.1 kB / 0.7674 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5402, allocations: 0 / 0.7674 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005021/0.5407, allocations: 144 kB / 0.7675 GB, free: 15.84 MB / 0.6075 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.001262/0.542, allocations: 1.327 MB / 0.7688 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004921/0.5425, allocations: 319.7 kB / 0.7691 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5425, allocations: 3.938 kB / 0.7691 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.5427, allocations: 160.1 kB / 0.7693 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/0.5444, allocations: 353.7 kB / 0.7696 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00523/0.5496, allocations: 4.619 MB / 0.7741 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.55, allocations: 0.8822 MB / 0.775 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004624/0.5505, allocations: 132.6 kB / 0.7751 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.5507, allocations: 171.4 kB / 0.7753 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of SimCode: time 4.2e-07/0.5507, allocations: 0 / 0.7753 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.5754, allocations: 14.81 MB / 0.7897 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001668/0.5756, allocations: 249.8 kB / 0.79 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/2.562, allocations: 0 / 0.79 GB, free: 8.863 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)