Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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.0017/0.0017, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002092/0.002092, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.807/2.807, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.905/1.905, allocations: 135.2 MB / 426.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009014/0.0009016, allocations: 15.98 kB / 0.5069 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3531, allocations: 82.3 MB / 0.5873 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 1.114/1.467, allocations: 158.2 MB / 0.7418 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01956/1.487, allocations: 5.622 MB / 0.7473 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00341/1.49, allocations: 31.75 kB / 0.7473 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004992/1.495, allocations: 0.5524 MB / 0.7478 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01303/1.508, allocations: 1.662 MB / 0.7495 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008985/1.517, allocations: 1.199 MB / 0.7506 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008008/1.526, allocations: 1.692 MB / 0.7523 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003654/1.529, allocations: 0.8134 MB / 0.7531 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004139/1.533, allocations: 0.7747 MB / 0.7538 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002754/1.536, allocations: 0.6071 MB / 0.7544 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000712/1.537, allocations: 48 kB / 0.7545 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004797/1.542, allocations: 0.6162 MB / 0.7551 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001784/1.544, allocations: 462.8 kB / 0.7555 GB, free: 200 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001615/1.545, allocations: 281.2 kB / 0.7558 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006222/1.552, allocations: 1.544 MB / 0.7573 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/1.552, allocations: 0 / 0.7573 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of FrontEnd: time 6.201e-06/1.552, allocations: 0 / 0.7573 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001311/1.552, allocations: 0 / 0.7573 GB, free: 14.38 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.006368/1.558, allocations: 1.365 MB / 0.7586 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 9.989e-05/1.558, allocations: 11.97 kB / 0.7586 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001052/1.559, allocations: 160.2 kB / 0.7588 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004865/1.564, allocations: 338.1 kB / 0.7591 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004802/1.569, allocations: 0.8324 MB / 0.7599 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002246/1.57, allocations: 74 kB / 0.76 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006157/1.57, allocations: 100 kB / 0.7601 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005274/1.575, allocations: 1.079 MB / 0.7612 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.371e-05/1.576, allocations: 0 / 0.7612 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002559/1.576, allocations: 40 kB / 0.7612 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001247/1.576, allocations: 47.86 kB / 0.7612 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003309/1.579, allocations: 0.9953 MB / 0.7622 GB, free: 9.242 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.01388/1.593, allocations: 4.256 MB / 0.7664 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001908/1.595, allocations: 0.5904 MB / 0.7669 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/1.595, allocations: 12.42 kB / 0.767 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.664e-05/1.595, allocations: 50.89 kB / 0.767 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 5.821e-06/1.595, allocations: 0 / 0.767 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55): time 0.00784/1.603, allocations: 2.214 MB / 0.7692 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.818e-05/1.603, allocations: 55.97 kB / 0.7692 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/1.605, allocations: 0.8765 MB / 0.7701 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001788/1.606, allocations: 45.69 kB / 0.7701 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007238/1.606, allocations: 0.5107 MB / 0.7706 GB, free: 172 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000404/1.607, allocations: 201.2 kB / 0.7708 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.358e-05/1.607, allocations: 16 kB / 0.7708 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002785/1.607, allocations: 329.9 kB / 0.7711 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009142/1.608, allocations: 293.8 kB / 0.7714 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/1.609, allocations: 450.6 kB / 0.7718 GB, free: 14.84 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004443/1.614, allocations: 1.092 MB / 0.7729 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/1.614, allocations: 0 / 0.7729 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002853/1.617, allocations: 0.9301 MB / 0.7738 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.141e-05/1.617, allocations: 8 kB / 0.7738 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/1.617, allocations: 4 kB / 0.7738 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003463/1.617, allocations: 90.52 kB / 0.7739 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/1.618, allocations: 179.8 kB / 0.7741 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005246/1.623, allocations: 4.332 MB / 0.7783 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002232/1.626, allocations: 70.34 kB / 0.7784 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/1.626, allocations: 28 kB / 0.7784 GB, free: 7.688 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 77 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001327/1.627, allocations: 350 kB / 0.7787 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004522/1.628, allocations: 98.88 kB / 0.7788 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003672/1.628, allocations: 113.1 kB / 0.779 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/1.628, allocations: 4 kB / 0.779 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.614e-05/1.628, allocations: 0 / 0.779 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002128/1.63, allocations: 0.7692 MB / 0.7797 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006939/1.637, allocations: 1.999 MB / 0.7817 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-05/1.637, allocations: 1.062 kB / 0.7817 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/1.638, allocations: 168.2 kB / 0.7818 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002289/1.639, allocations: 36.84 kB / 0.7819 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/1.639, allocations: 19.98 kB / 0.7819 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002798/1.642, allocations: 1.504 MB / 0.7833 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.554e-05/1.642, allocations: 7.984 kB / 0.7834 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003965/1.646, allocations: 1.392 MB / 0.7847 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001308/1.647, allocations: 251.9 kB / 0.785 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004964/1.648, allocations: 19.31 kB / 0.785 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001647/1.649, allocations: 81.25 kB / 0.785 GB, free: 452 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002173/1.649, allocations: 47.94 kB / 0.7851 GB, free: 404 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/1.65, allocations: 27.98 kB / 0.7851 GB, free: 376 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001565/1.651, allocations: 0.6122 MB / 0.7857 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6.61e-07/1.651, allocations: 0 / 0.7857 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002127/1.653, allocations: 304 kB / 0.786 GB, free: 15.46 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[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 (53): * Single equations (assignments): 52 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.005492/1.659, allocations: 2.92 MB / 0.7889 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002791/1.662, allocations: 1.007 MB / 0.7898 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/1.662, allocations: 0 / 0.7898 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/1.663, allocations: 451.7 kB / 0.7903 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005511/1.668, allocations: 0.6185 MB / 0.7909 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0271/1.696, allocations: 8.596 MB / 0.7993 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002989/1.699, allocations: 1.194 MB / 0.8004 GB, free: 240 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002962/1.702, allocations: 252.4 kB / 0.8007 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001644/1.703, allocations: 379.3 kB / 0.801 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of SimCode: time 4.809e-06/1.704, allocations: 0 / 0.801 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1375/1.841, allocations: 29.94 MB / 0.8303 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006884/1.842, allocations: 274.5 kB / 0.8305 GB, free: 1.805 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.751/5.593, allocations: 0 / 0.8305 GB, free: 1.805 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) Environment - environmentSimulation: