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.0007962/0.0007962, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.004576/0.004576, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.268/1.268, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7386/0.7386, allocations: 132.3 MB / 423.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002916/0.0002916, allocations: 13.02 kB / 0.5041 GB, free: 3.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3522, allocations: 81.57 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1622/0.5145, allocations: 166.3 MB / 0.7462 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004723/0.5192, allocations: 3.39 MB / 0.7495 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003315/0.5196, allocations: 15.88 kB / 0.7495 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006752/0.5203, allocations: 274.5 kB / 0.7498 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001874/0.5222, allocations: 0.9454 MB / 0.7507 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.5234, allocations: 0.6124 MB / 0.7513 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001849/0.5253, allocations: 2.106 MB / 0.7533 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004979/0.5258, allocations: 396.5 kB / 0.7537 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006294/0.5264, allocations: 477.9 kB / 0.7542 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000867/0.5273, allocations: 473.7 kB / 0.7546 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.093e-05/0.5274, allocations: 27.98 kB / 0.7546 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.5287, allocations: 0.9429 MB / 0.7556 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001975/0.5289, allocations: 203.4 kB / 0.7558 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002784/0.5292, allocations: 320.2 kB / 0.7561 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.5303, allocations: 1.145 MB / 0.7572 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.5303, allocations: 0 / 0.7572 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5303, allocations: 0 / 0.7572 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.5303, allocations: 0 / 0.7572 GB, free: 14.2 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.001103/0.5314, allocations: 0.7908 MB / 0.758 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.5315, allocations: 15.97 kB / 0.758 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.153e-05/0.5316, allocations: 86.52 kB / 0.7581 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.5327, allocations: 179.1 kB / 0.7582 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006377/0.5334, allocations: 0.4974 MB / 0.7587 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.5334, allocations: 36.98 kB / 0.7587 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.442e-05/0.5335, allocations: 44 kB / 0.7588 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007344/0.5342, allocations: 470.4 kB / 0.7592 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.5343, allocations: 4 kB / 0.7592 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.143e-05/0.5343, allocations: 24 kB / 0.7593 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/0.5343, allocations: 13 kB / 0.7593 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006174/0.535, allocations: 415.7 kB / 0.7597 GB, free: 11.55 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.002256/0.5372, allocations: 1.736 MB / 0.7614 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004433/0.5377, allocations: 308.8 kB / 0.7617 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002447/0.5379, allocations: 181.2 kB / 0.7618 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001506/0.5381, allocations: 97.09 kB / 0.7619 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.5381, allocations: 50.48 kB / 0.762 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 1.493e-06/0.5381, allocations: 0 / 0.762 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001795/0.5399, allocations: 1.045 MB / 0.763 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.54, allocations: 55.41 kB / 0.763 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004531/0.5405, allocations: 457.9 kB / 0.7635 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.5405, allocations: 37.7 kB / 0.7635 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.5407, allocations: 252.1 kB / 0.7638 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.879e-05/0.5408, allocations: 118.3 kB / 0.7639 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.267e-05/0.5408, allocations: 33.7 kB / 0.7639 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.5409, allocations: 358.7 kB / 0.7642 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.5411, allocations: 123.9 kB / 0.7644 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.5414, allocations: 198.8 kB / 0.7646 GB, free: 6.258 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.001816/0.5432, allocations: 0.8543 MB / 0.7654 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.5432, allocations: 0 / 0.7654 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005695/0.5438, allocations: 410.8 kB / 0.7658 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.5438, allocations: 10.5 kB / 0.7658 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.5438, allocations: 0 / 0.7658 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.5439, allocations: 4 kB / 0.7658 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/0.5442, allocations: 75.84 kB / 0.7659 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.5442, allocations: 4.188 kB / 0.7659 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004097/0.5446, allocations: 31.83 kB / 0.7659 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.5446, allocations: 12 kB / 0.7659 GB, free: 4.824 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 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 () * 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.0002191/0.5449, allocations: 217.6 kB / 0.7661 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.255e-05/0.5449, allocations: 47.44 kB / 0.7662 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.5451, allocations: 64.75 kB / 0.7662 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.5451, allocations: 4 kB / 0.7662 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.5451, allocations: 0 / 0.7662 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004607/0.5456, allocations: 413 kB / 0.7666 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/0.5472, allocations: 1.241 MB / 0.7678 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.5472, allocations: 12.03 kB / 0.7678 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003412/0.5476, allocations: 71.91 kB / 0.7679 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.5476, allocations: 4 kB / 0.7679 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.5476, allocations: 12 kB / 0.7679 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.942e-06/0.5476, allocations: 7.938 kB / 0.7679 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.5476, allocations: 4 kB / 0.7679 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007974/0.5484, allocations: 0.7309 MB / 0.7687 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/0.5486, allocations: 172.4 kB / 0.7688 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.483e-05/0.5487, allocations: 16 kB / 0.7688 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004287/0.5491, allocations: 36.64 kB / 0.7689 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.5492, allocations: 27.91 kB / 0.7689 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.07e-05/0.5492, allocations: 23.98 kB / 0.7689 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003211/0.5496, allocations: 327.1 kB / 0.7692 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.493e-06/0.5496, allocations: 0 / 0.7692 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004974/0.5501, allocations: 143.9 kB / 0.7694 GB, free: 1.047 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.001238/0.5513, allocations: 1.317 MB / 0.7707 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000495/0.5518, allocations: 324 kB / 0.771 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5518, allocations: 4.062 kB / 0.771 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.5521, allocations: 171.6 kB / 0.7711 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/0.554, allocations: 346.8 kB / 0.7715 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005201/0.5592, allocations: 4.688 MB / 0.776 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.5596, allocations: 0.8823 MB / 0.7769 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004624/0.5601, allocations: 140.6 kB / 0.777 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.5603, allocations: 171.4 kB / 0.7772 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of SimCode: time 1.613e-06/0.5603, allocations: 0 / 0.7772 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4169/0.9773, allocations: 14.66 MB / 0.7915 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003101/0.9776, allocations: 247 kB / 0.7918 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.995/2.973, allocations: 0 / 0.7918 GB, free: 10.16 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)