Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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: translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009442/0.0009443, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001137/0.001137, allocations: 168.7 kB / 15.95 MB, free: 204 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.319/1.319, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7379/0.7379, allocations: 132.4 MB / 423.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002993/0.0002993, allocations: 13.09 kB / 0.5034 GB, free: 4.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3571, allocations: 81.58 MB / 0.5831 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1769/0.5341, allocations: 173.1 MB / 0.7522 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008161/0.5423, allocations: 5.356 MB / 0.7574 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.5434, allocations: 35.75 kB / 0.7574 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.5446, allocations: 385.5 kB / 0.7578 GB, free: 13.22 MB / 0.5919 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. [/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.003204/0.5478, allocations: 1.201 MB / 0.759 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002517/0.5504, allocations: 0.8949 MB / 0.7598 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003237/0.5536, allocations: 2.936 MB / 0.7627 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.5548, allocations: 0.7038 MB / 0.7634 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001648/0.5564, allocations: 0.844 MB / 0.7642 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001294/0.5577, allocations: 0.7667 MB / 0.765 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001709/0.5579, allocations: 40 kB / 0.765 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00211/0.56, allocations: 0.9042 MB / 0.7659 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005049/0.5605, allocations: 430.8 kB / 0.7663 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003582/0.5609, allocations: 245.1 kB / 0.7665 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.5626, allocations: 1.489 MB / 0.768 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.5626, allocations: 0 / 0.768 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5626, allocations: 0 / 0.768 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.972e-05/0.5627, allocations: 0 / 0.768 GB, free: 2.758 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002106/0.5648, allocations: 1.258 MB / 0.7692 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.5648, allocations: 12.03 kB / 0.7692 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001969/0.5668, allocations: 346.3 kB / 0.7696 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.5681, allocations: 0.7458 MB / 0.7703 GB, free: 312 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003227/0.5684, allocations: 133.9 kB / 0.7704 GB, free: 176 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.5685, allocations: 87.94 kB / 0.7705 GB, free: 88 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/0.5703, allocations: 1.064 MB / 0.7715 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.5704, allocations: 3.938 kB / 0.7715 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-05/0.5705, allocations: 40 kB / 0.7716 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-05/0.5705, allocations: 37.92 kB / 0.7716 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.5721, allocations: 0.843 MB / 0.7724 GB, free: 14.07 MB / 0.6075 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.005054/0.5771, allocations: 4.043 MB / 0.7764 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000535/0.5777, allocations: 382.7 kB / 0.7767 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002834/0.578, allocations: 209.3 kB / 0.7769 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001686/0.5781, allocations: 108.9 kB / 0.7771 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.5782, allocations: 42.5 kB / 0.7771 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 2.174e-06/0.5782, allocations: 4 kB / 0.7771 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of matching and sorting (n=38): time 0.002417/0.5806, allocations: 1.307 MB / 0.7784 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.5807, allocations: 55.41 kB / 0.7784 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.582, allocations: 0.9959 MB / 0.7794 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.596e-05/0.5821, allocations: 37.7 kB / 0.7794 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003671/0.5824, allocations: 491.3 kB / 0.7799 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.5826, allocations: 138 kB / 0.78 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.5826, allocations: 16 kB / 0.78 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.5827, allocations: 326 kB / 0.7804 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004706/0.5832, allocations: 237.2 kB / 0.7806 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005809/0.5838, allocations: 422.9 kB / 0.781 GB, free: 4.816 MB / 0.6075 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.001794/0.5856, allocations: 0.7292 MB / 0.7817 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.5856, allocations: 4 kB / 0.7817 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001304/0.5869, allocations: 0.7538 MB / 0.7824 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.587, allocations: 15.97 kB / 0.7825 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.587, allocations: 4 kB / 0.7825 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.587, allocations: 8 kB / 0.7825 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000569/0.5876, allocations: 143.8 kB / 0.7826 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.96e-05/0.5876, allocations: 8 kB / 0.7826 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009099/0.5885, allocations: 99.78 kB / 0.7827 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.825e-05/0.5886, allocations: 31.94 kB / 0.7827 GB, free: 3 MB / 0.6075 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.0004054/0.589, allocations: 313.5 kB / 0.783 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.5892, allocations: 102.8 kB / 0.7831 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.5893, allocations: 97.03 kB / 0.7832 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.5893, allocations: 4 kB / 0.7832 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5894, allocations: 0 / 0.7832 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006212/0.59, allocations: 0.6807 MB / 0.7839 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002261/0.5923, allocations: 1.582 MB / 0.7854 GB, free: 32 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.5923, allocations: 4 kB / 0.7854 GB, free: 28 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004119/0.5927, allocations: 83.91 kB / 0.7855 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.5927, allocations: 8 kB / 0.7855 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-05/0.5928, allocations: 11.98 kB / 0.7855 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.5928, allocations: 11.94 kB / 0.7856 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.5928, allocations: 4.469 kB / 0.7856 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009906/0.5938, allocations: 0.8607 MB / 0.7864 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003358/0.5941, allocations: 231.9 kB / 0.7866 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.5943, allocations: 19.98 kB / 0.7866 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006793/0.5949, allocations: 52.53 kB / 0.7867 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.595, allocations: 39.84 kB / 0.7867 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.594e-05/0.5951, allocations: 31.98 kB / 0.7868 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009694/0.5961, allocations: 0.6996 MB / 0.7874 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5961, allocations: 0 / 0.7874 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008083/0.5969, allocations: 256 kB / 0.7877 GB, free: 13.64 MB / 0.6231 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.0004112/0.5973, allocations: 214.5 kB / 0.7879 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008936/0.5982, allocations: 499.7 kB / 0.7884 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5982, allocations: 0 / 0.7884 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002577/0.5985, allocations: 181.9 kB / 0.7885 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/0.601, allocations: 0.5995 MB / 0.7891 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002757/0.6038, allocations: 2.167 MB / 0.7912 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006434/0.6045, allocations: 1.095 MB / 0.7923 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008856/0.6054, allocations: 244.4 kB / 0.7925 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.6055, allocations: 67.44 kB / 0.7926 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of SimCode: time 7.62e-07/0.6055, allocations: 4 kB / 0.7926 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of Templates: time 0.02885/0.6344, allocations: 18.35 MB / 0.8105 GB, free: 6.441 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)