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.00096/0.0009606, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.001069/0.001069, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 223.2 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9854/0.9854, allocations: 135.3 MB / 426.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.000352, allocations: 9.688 kB / 0.5071 GB, free: 5.051 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1669, allocations: 82.32 MB / 0.5875 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.5588/0.7257, allocations: 155.1 MB / 0.739 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005633/0.7314, allocations: 3.174 MB / 0.7421 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006529/0.7321, allocations: 17.5 kB / 0.7421 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007193/0.7328, allocations: 211.8 kB / 0.7423 GB, free: 10.64 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002094/0.7349, allocations: 0.7531 MB / 0.743 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.7366, allocations: 0.4924 MB / 0.7435 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003287/0.7399, allocations: 1.77 MB / 0.7452 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.741, allocations: 377.6 kB / 0.7456 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001478/0.7425, allocations: 486.4 kB / 0.7461 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.7437, allocations: 451.6 kB / 0.7465 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.7438, allocations: 18.16 kB / 0.7465 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001918/0.7457, allocations: 435.1 kB / 0.7469 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003972/0.7462, allocations: 201.5 kB / 0.7471 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003886/0.7466, allocations: 148.1 kB / 0.7473 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.7481, allocations: 0.7689 MB / 0.748 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.7481, allocations: 0 / 0.748 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.685e-06/0.7481, allocations: 0 / 0.748 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.799e-05/0.7482, allocations: 0 / 0.748 GB, free: 7.695 MB / 0.5606 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.001757/0.7499, allocations: 0.8008 MB / 0.7488 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.75, allocations: 8.344 kB / 0.7488 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000172/0.7502, allocations: 85.34 kB / 0.7489 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/0.7515, allocations: 176.6 kB / 0.749 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009302/0.7524, allocations: 496.8 kB / 0.7495 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.627e-05/0.7525, allocations: 41.23 kB / 0.7496 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.143e-05/0.7526, allocations: 44.58 kB / 0.7496 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008524/0.7534, allocations: 470.8 kB / 0.75 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.7535, allocations: 0 / 0.75 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.902e-05/0.7535, allocations: 15.38 kB / 0.7501 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.173e-05/0.7536, allocations: 24.39 kB / 0.7501 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006655/0.7542, allocations: 413.8 kB / 0.7505 GB, free: 5.844 MB / 0.5606 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.002685/0.7569, allocations: 1.724 MB / 0.7522 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004658/0.7574, allocations: 302.9 kB / 0.7525 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.7577, allocations: 180.7 kB / 0.7526 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001776/0.7578, allocations: 101.1 kB / 0.7527 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.7579, allocations: 42.5 kB / 0.7528 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.794e-06/0.7579, allocations: 0 / 0.7528 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002148/0.76, allocations: 1.049 MB / 0.7538 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.7601, allocations: 55.41 kB / 0.7538 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000538/0.7606, allocations: 449.9 kB / 0.7543 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.905e-05/0.7607, allocations: 33.7 kB / 0.7543 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.7609, allocations: 252.1 kB / 0.7545 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.761, allocations: 122.3 kB / 0.7547 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.74e-05/0.7611, allocations: 7.938 kB / 0.7547 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.7612, allocations: 358.8 kB / 0.755 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.7614, allocations: 127.9 kB / 0.7551 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.7617, allocations: 193.2 kB / 0.7553 GB, free: 0.6016 MB / 0.5606 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.001368/0.7631, allocations: 0.5494 MB / 0.7559 GB, free: 40 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.7631, allocations: 0 / 0.7559 GB, free: 40 kB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006688/0.7638, allocations: 416.4 kB / 0.7562 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.7638, allocations: 4.188 kB / 0.7563 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/0.7638, allocations: 8 kB / 0.7563 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.7638, allocations: 4 kB / 0.7563 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/0.7641, allocations: 71.91 kB / 0.7563 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/0.7642, allocations: 11.92 kB / 0.7563 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004243/0.7646, allocations: 14.81 kB / 0.7564 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-05/0.7647, allocations: 19.98 kB / 0.7564 GB, free: 15.5 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002826/0.7649, allocations: 210.2 kB / 0.7566 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.7651, allocations: 63.42 kB / 0.7566 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.7652, allocations: 60.75 kB / 0.7567 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.7652, allocations: 0 / 0.7567 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.7652, allocations: 4 kB / 0.7567 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004869/0.7657, allocations: 405.1 kB / 0.7571 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/0.7675, allocations: 1.245 MB / 0.7583 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.7676, allocations: 4 kB / 0.7583 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003333/0.7679, allocations: 71.89 kB / 0.7584 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/0.7679, allocations: 8 kB / 0.7584 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.768, allocations: 15.95 kB / 0.7584 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-06/0.768, allocations: 7.938 kB / 0.7584 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.768, allocations: 4.469 kB / 0.7584 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008486/0.7688, allocations: 0.7238 MB / 0.7591 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002237/0.7691, allocations: 164.5 kB / 0.7593 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.018e-05/0.7692, allocations: 19.94 kB / 0.7593 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004204/0.7696, allocations: 31.89 kB / 0.7593 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.7696, allocations: 31.97 kB / 0.7594 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.299e-05/0.7697, allocations: 16 kB / 0.7594 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003553/0.7701, allocations: 331 kB / 0.7597 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7701, allocations: 3.938 kB / 0.7597 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006017/0.7707, allocations: 148 kB / 0.7598 GB, free: 11.74 MB / 0.5762 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 (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.001417/0.7721, allocations: 1.315 MB / 0.7611 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000529/0.7726, allocations: 325.5 kB / 0.7614 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.7727, allocations: 0 / 0.7614 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002198/0.7729, allocations: 159.2 kB / 0.7616 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/0.7745, allocations: 353.9 kB / 0.7619 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004628/0.7791, allocations: 3.09 MB / 0.7649 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004749/0.7796, allocations: 0.8861 MB / 0.7658 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005739/0.7802, allocations: 131.5 kB / 0.7659 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002724/0.7805, allocations: 171.4 kB / 0.7661 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of SimCode: time 9.42e-07/0.7805, allocations: 0 / 0.7661 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03712/0.8176, allocations: 15.08 MB / 0.7808 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/0.8179, allocations: 231.9 kB / 0.781 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.096/2.914, allocations: 2.25 kB / 0.781 GB, free: 6.137 MB / 0.5919 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/linux/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) Environment - environmentSimulation: