Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.001461/0.001461, allocations: 99.23 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.001915/0.001915, allocations: 177.3 kB / 15.94 MB, free: 228 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.841/2.841, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.978/1.978, allocations: 135.2 MB / 426.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007299/0.00073, allocations: 16 kB / 0.5069 GB, free: 5.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3899, allocations: 82.31 MB / 0.5873 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 1.147/1.537, allocations: 158 MB / 0.7416 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02132/1.559, allocations: 5.607 MB / 0.7471 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003362/1.562, allocations: 31.75 kB / 0.7471 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004735/1.567, allocations: 0.5615 MB / 0.7477 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01204/1.579, allocations: 1.65 MB / 0.7493 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008604/1.588, allocations: 1.184 MB / 0.7504 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007464/1.595, allocations: 1.46 MB / 0.7519 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003034/1.598, allocations: 0.7212 MB / 0.7526 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004367/1.603, allocations: 0.7397 MB / 0.7533 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002407/1.605, allocations: 0.5097 MB / 0.7538 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000664/1.606, allocations: 40 kB / 0.7538 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005743/1.612, allocations: 0.8891 MB / 0.7547 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001822/1.614, allocations: 391 kB / 0.7551 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001239/1.615, allocations: 249.1 kB / 0.7553 GB, free: 420 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005547/1.62, allocations: 1.447 MB / 0.7567 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/1.621, allocations: 0 / 0.7567 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of FrontEnd: time 5.621e-06/1.621, allocations: 0 / 0.7567 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001138/1.621, allocations: 0 / 0.7567 GB, free: 14.97 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.006394/1.627, allocations: 1.26 MB / 0.7579 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 9.04e-05/1.627, allocations: 8.031 kB / 0.758 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009418/1.628, allocations: 135.2 kB / 0.7581 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005138/1.633, allocations: 346.3 kB / 0.7584 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003959/1.637, allocations: 0.7497 MB / 0.7591 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008397/1.638, allocations: 133.9 kB / 0.7593 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000625/1.639, allocations: 91.92 kB / 0.7594 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005771/1.645, allocations: 1.045 MB / 0.7604 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001009/1.645, allocations: 3.938 kB / 0.7604 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000413/1.645, allocations: 40 kB / 0.7604 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001334/1.646, allocations: 37.98 kB / 0.7605 GB, free: 11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003835/1.649, allocations: 0.8353 MB / 0.7613 GB, free: 10.16 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.01444/1.664, allocations: 4.058 MB / 0.7652 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/1.665, allocations: 373.6 kB / 0.7656 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/1.665, allocations: 19.92 kB / 0.7656 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.822e-05/1.665, allocations: 38.56 kB / 0.7657 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=36): time 4.849e-06/1.665, allocations: 0 / 0.7657 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of matching and sorting (n=38): time 0.005799/1.671, allocations: 1.326 MB / 0.7669 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/1.671, allocations: 59.41 kB / 0.767 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003532/1.675, allocations: 0.9803 MB / 0.768 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002715/1.675, allocations: 41.7 kB / 0.768 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001014/1.676, allocations: 499.3 kB / 0.7685 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005132/1.677, allocations: 130.1 kB / 0.7686 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.493e-05/1.677, allocations: 15.94 kB / 0.7686 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000366/1.677, allocations: 333.9 kB / 0.7689 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/1.678, allocations: 233.2 kB / 0.7692 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/1.68, allocations: 418.9 kB / 0.7696 GB, free: 1.227 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003407/1.683, allocations: 0.7246 MB / 0.7703 GB, free: 496 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/1.683, allocations: 0 / 0.7703 GB, free: 496 kB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002983/1.686, allocations: 0.7575 MB / 0.771 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.27e-05/1.686, allocations: 8 kB / 0.771 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-05/1.686, allocations: 4 kB / 0.771 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.316e-05/1.686, allocations: 17.84 kB / 0.771 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009634/1.687, allocations: 144 kB / 0.7712 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.722e-05/1.688, allocations: 8 kB / 0.7712 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/1.69, allocations: 99.7 kB / 0.7713 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/1.69, allocations: 24 kB / 0.7713 GB, free: 15.42 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: 22 * 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 (71): * Single equations (assignments): 71 * 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.001107/1.691, allocations: 324.1 kB / 0.7716 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005369/1.691, allocations: 98.78 kB / 0.7717 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004515/1.692, allocations: 105 kB / 0.7718 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/1.692, allocations: 4 kB / 0.7718 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/1.692, allocations: 0 / 0.7718 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00127/1.693, allocations: 0.6674 MB / 0.7725 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005463/1.699, allocations: 1.588 MB / 0.774 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.842e-05/1.699, allocations: 4 kB / 0.774 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007279/1.699, allocations: 87.89 kB / 0.7741 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.547e-05/1.7, allocations: 4.5 kB / 0.7741 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.91e-05/1.7, allocations: 19.62 kB / 0.7741 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.045e-05/1.7, allocations: 11.94 kB / 0.7741 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.158e-05/1.7, allocations: 4 kB / 0.7741 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002809/1.702, allocations: 1.041 MB / 0.7751 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001373/1.704, allocations: 235.9 kB / 0.7754 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005838/1.705, allocations: 16 kB / 0.7754 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001824/1.706, allocations: 68.92 kB / 0.7755 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/1.707, allocations: 27.91 kB / 0.7755 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001714/1.707, allocations: 31.98 kB / 0.7755 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002466/1.709, allocations: 0.7034 MB / 0.7762 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.61e-07/1.709, allocations: 3.828 kB / 0.7762 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002176/1.711, allocations: 256 kB / 0.7764 GB, free: 9.773 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * 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.004282/1.716, allocations: 2.785 MB / 0.7792 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001747/1.718, allocations: 499.3 kB / 0.7796 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-05/1.718, allocations: 4 kB / 0.7796 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004854/1.718, allocations: 195.2 kB / 0.7798 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005165/1.723, allocations: 0.5737 MB / 0.7804 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02117/1.745, allocations: 8.924 MB / 0.7891 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001721/1.746, allocations: 1.118 MB / 0.7902 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002009/1.748, allocations: 242.6 kB / 0.7904 GB, free: 11 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007888/1.749, allocations: 347.3 kB / 0.7908 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of SimCode: time 4.669e-06/1.749, allocations: 0 / 0.7908 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1159/1.865, allocations: 27.19 MB / 0.8173 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004857/1.866, allocations: 233.6 kB / 0.8175 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.856/6.722, allocations: 0 / 0.8175 GB, free: 15.65 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) Environment - environmentSimulation: