Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009777/0.0009778, allocations: 91.69 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.001141/0.001141, 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.279/1.279, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7456/0.7456, allocations: 132.3 MB / 423.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002835/0.0002835, allocations: 12 kB / 0.5034 GB, free: 4.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3302, allocations: 81.58 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1685/0.4987, allocations: 173.3 MB / 0.7523 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00793/0.5067, allocations: 5.365 MB / 0.7576 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.5079, allocations: 35.75 kB / 0.7576 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.509, allocations: 393.5 kB / 0.758 GB, free: 13.05 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.003199/0.5123, allocations: 1.357 MB / 0.7593 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002139/0.5144, allocations: 0.8421 MB / 0.7601 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003572/0.518, allocations: 3.446 MB / 0.7635 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.5191, allocations: 0.8018 MB / 0.7643 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001445/0.5206, allocations: 0.8907 MB / 0.7651 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.5219, allocations: 0.9068 MB / 0.766 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.5221, allocations: 48 kB / 0.7661 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.5237, allocations: 0.7054 MB / 0.7667 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004595/0.5241, allocations: 494.6 kB / 0.7672 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002766/0.5244, allocations: 289 kB / 0.7675 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001426/0.5259, allocations: 1.637 MB / 0.7691 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.5259, allocations: 4 kB / 0.7691 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5259, allocations: 0 / 0.7691 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.5259, allocations: 0 / 0.7691 GB, free: 1.609 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.001961/0.5279, allocations: 1.383 MB / 0.7704 GB, free: 180 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.5279, allocations: 11.97 kB / 0.7705 GB, free: 168 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001879/0.5298, allocations: 334.1 kB / 0.7708 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.531, allocations: 0.8401 MB / 0.7716 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.139e-05/0.5311, allocations: 74 kB / 0.7717 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.5312, allocations: 96 kB / 0.7718 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.5329, allocations: 1.089 MB / 0.7728 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.533, allocations: 0 / 0.7728 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-05/0.5331, allocations: 44 kB / 0.7729 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.585e-05/0.5331, allocations: 49.88 kB / 0.7729 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/0.5347, allocations: 0.9876 MB / 0.7739 GB, free: 12.61 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.005254/0.54, allocations: 4.247 MB / 0.778 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008536/0.5409, allocations: 0.5958 MB / 0.7786 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004984/0.5414, allocations: 346.5 kB / 0.7789 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001812/0.5416, allocations: 105.5 kB / 0.779 GB, free: 7 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.5416, allocations: 43 kB / 0.7791 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=53): time 2.956e-06/0.5416, allocations: 3.938 kB / 0.7791 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55): time 0.003662/0.5453, allocations: 2.228 MB / 0.7813 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.5453, allocations: 55.97 kB / 0.7813 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009739/0.5463, allocations: 0.8764 MB / 0.7822 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/0.5464, allocations: 37.7 kB / 0.7822 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003406/0.5467, allocations: 0.5146 MB / 0.7827 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.5469, allocations: 201.1 kB / 0.7829 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.5469, allocations: 12 kB / 0.7829 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.62e-05/0.547, allocations: 334 kB / 0.7832 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004739/0.5475, allocations: 289.8 kB / 0.7835 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005666/0.5481, allocations: 446.6 kB / 0.7839 GB, free: 1.762 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.002734/0.5508, allocations: 1.092 MB / 0.785 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.5508, allocations: 4 kB / 0.785 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001419/0.5523, allocations: 0.9301 MB / 0.7859 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.5523, allocations: 8 kB / 0.7859 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.567e-06/0.5523, allocations: 7.984 kB / 0.7859 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000194/0.5525, allocations: 98.52 kB / 0.786 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007082/0.5532, allocations: 175.7 kB / 0.7862 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002987/0.5562, allocations: 4.27 MB / 0.7904 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007449/0.557, allocations: 72.53 kB / 0.7904 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-05/0.557, allocations: 28 kB / 0.7904 GB, free: 10.65 MB / 0.6231 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.0004093/0.5575, allocations: 353.5 kB / 0.7908 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.5576, allocations: 98.83 kB / 0.7909 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/0.5578, allocations: 109.2 kB / 0.791 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.5578, allocations: 12 kB / 0.791 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.5578, allocations: 0 / 0.791 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001033/0.5589, allocations: 0.7808 MB / 0.7918 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002845/0.5617, allocations: 1.988 MB / 0.7937 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.5618, allocations: 4 kB / 0.7937 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006881/0.5624, allocations: 164.2 kB / 0.7939 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.026e-05/0.5625, allocations: 44.77 kB / 0.7939 GB, free: 6.938 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-05/0.5626, allocations: 12 kB / 0.7939 GB, free: 6.926 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/0.5636, allocations: 1.488 MB / 0.7954 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.5637, allocations: 7.938 kB / 0.7954 GB, free: 5.293 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.5653, allocations: 1.234 MB / 0.7966 GB, free: 3.996 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003528/0.5657, allocations: 251.9 kB / 0.7968 GB, free: 3.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.5658, allocations: 16 kB / 0.7968 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007158/0.5665, allocations: 86.17 kB / 0.7969 GB, free: 3.633 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.579e-05/0.5666, allocations: 39.89 kB / 0.797 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.958e-05/0.5667, allocations: 27.98 kB / 0.797 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006921/0.5674, allocations: 0.6122 MB / 0.7976 GB, free: 2.957 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5674, allocations: 0 / 0.7976 GB, free: 2.957 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007954/0.5682, allocations: 300 kB / 0.7979 GB, free: 2.664 MB / 0.6231 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.000362/0.5686, allocations: 192.1 kB / 0.798 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001362/0.5699, allocations: 1.007 MB / 0.799 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.57, allocations: 4 kB / 0.799 GB, free: 1.426 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005999/0.5706, allocations: 459 kB / 0.7995 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002478/0.573, allocations: 0.6231 MB / 0.8001 GB, free: 368 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/0.576, allocations: 2.502 MB / 0.8025 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006897/0.5767, allocations: 1.17 MB / 0.8037 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008335/0.5775, allocations: 252.4 kB / 0.8039 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.5777, allocations: 79.42 kB / 0.804 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of SimCode: time 2.6e-07/0.5777, allocations: 4 kB / 0.804 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of Templates: time 0.2981/0.8758, allocations: 20.6 MB / 0.8241 GB, free: 213.4 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)