Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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: translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009443/0.0009443, allocations: 100 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.00103/0.00103, 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 1.212/1.212, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.86/0.86, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002901/0.0002902, allocations: 8 kB / 0.5068 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1334, allocations: 82.3 MB / 0.5872 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.3994/0.5329, allocations: 155.7 MB / 0.7393 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01314/0.546, allocations: 10.92 MB / 0.7499 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.5471, allocations: 23.81 kB / 0.75 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.5485, allocations: 439.6 kB / 0.7504 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00264/0.5511, allocations: 1.043 MB / 0.7514 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.5532, allocations: 0.8152 MB / 0.7522 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001542/0.5548, allocations: 1.16 MB / 0.7533 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007494/0.5555, allocations: 0.6179 MB / 0.7539 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002483/0.558, allocations: 1.219 MB / 0.7551 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005719/0.5586, allocations: 430.2 kB / 0.7555 GB, free: 148 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.33e-05/0.5587, allocations: 32 kB / 0.7556 GB, free: 116 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009906/0.5597, allocations: 415.4 kB / 0.7559 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000308/0.56, allocations: 311.2 kB / 0.7562 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.5602, allocations: 205.2 kB / 0.7564 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009661/0.5612, allocations: 0.986 MB / 0.7574 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.5612, allocations: 0 / 0.7574 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5612, allocations: 0 / 0.7574 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.5612, allocations: 0 / 0.7574 GB, free: 14.21 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001529/0.5627, allocations: 1.058 MB / 0.7584 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.5628, allocations: 12.03 kB / 0.7584 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.5639, allocations: 214.6 kB / 0.7587 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009697/0.5649, allocations: 0.6174 MB / 0.7593 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.718e-05/0.5649, allocations: 61.94 kB / 0.7593 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.5651, allocations: 79.98 kB / 0.7594 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.5663, allocations: 0.9132 MB / 0.7603 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.5663, allocations: 7.938 kB / 0.7603 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-05/0.5664, allocations: 32 kB / 0.7603 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.925e-05/0.5664, allocations: 37.02 kB / 0.7604 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008863/0.5673, allocations: 0.6099 MB / 0.761 GB, free: 10.41 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.003921/0.5712, allocations: 4.584 MB / 0.7654 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006506/0.5719, allocations: 0.5369 MB / 0.766 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.736e-05/0.572, allocations: 15.92 kB / 0.766 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.572, allocations: 42.56 kB / 0.766 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.014e-06/0.572, allocations: 0 / 0.766 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45): time 0.002434/0.5744, allocations: 1.574 MB / 0.7675 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.5745, allocations: 110.8 kB / 0.7677 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007167/0.5752, allocations: 0.7154 MB / 0.7684 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/0.5753, allocations: 29.95 kB / 0.7684 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/0.5755, allocations: 427.7 kB / 0.7688 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.5757, allocations: 161.7 kB / 0.7689 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.25e-05/0.5757, allocations: 12 kB / 0.769 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.978e-05/0.5758, allocations: 326 kB / 0.7693 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/0.5761, allocations: 189.2 kB / 0.7694 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003953/0.5765, allocations: 413 kB / 0.7698 GB, free: 0.7578 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.5779, allocations: 0.6599 MB / 0.7705 GB, free: 84 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.5779, allocations: 3.953 kB / 0.7705 GB, free: 80 kB / 0.5762 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009067/0.5788, allocations: 0.6643 MB / 0.7711 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.5788, allocations: 14.5 kB / 0.7711 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.5789, allocations: 7.938 kB / 0.7712 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/0.5789, allocations: 12 kB / 0.7712 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004517/0.5793, allocations: 127.8 kB / 0.7713 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.904e-05/0.5794, allocations: 11.94 kB / 0.7713 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005526/0.5799, allocations: 53.08 kB / 0.7714 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.541e-05/0.58, allocations: 24 kB / 0.7714 GB, free: 15.16 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: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0003146/0.5803, allocations: 271.3 kB / 0.7716 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.5805, allocations: 86.92 kB / 0.7717 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.5806, allocations: 95.66 kB / 0.7718 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.5806, allocations: 4 kB / 0.7718 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.5806, allocations: 0 / 0.7718 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006233/0.5812, allocations: 0.691 MB / 0.7725 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/0.5834, allocations: 1.646 MB / 0.7741 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.5834, allocations: 4.5 kB / 0.7741 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004339/0.5839, allocations: 99.89 kB / 0.7742 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/0.5839, allocations: 7.953 kB / 0.7742 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/0.5839, allocations: 16 kB / 0.7742 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.584, allocations: 19.86 kB / 0.7742 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.584, allocations: 4 kB / 0.7742 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.585, allocations: 1.067 MB / 0.7753 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002891/0.5853, allocations: 212.1 kB / 0.7755 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.463e-05/0.5854, allocations: 16 kB / 0.7755 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004602/0.5859, allocations: 35.59 kB / 0.7755 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.891e-05/0.5859, allocations: 39.86 kB / 0.7756 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/0.586, allocations: 23.98 kB / 0.7756 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005321/0.5865, allocations: 0.5029 MB / 0.7761 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5865, allocations: 0 / 0.7761 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006449/0.5872, allocations: 200 kB / 0.7763 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: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.0003776/0.5876, allocations: 199.2 kB / 0.7765 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006802/0.5882, allocations: 470.1 kB / 0.7769 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5883, allocations: 8 kB / 0.7769 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002521/0.5885, allocations: 207.7 kB / 0.7771 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/0.5903, allocations: 454.2 kB / 0.7776 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.5925, allocations: 1.994 MB / 0.7795 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005529/0.5931, allocations: 1.044 MB / 0.7805 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000582/0.5937, allocations: 193.9 kB / 0.7807 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.5938, allocations: 71.42 kB / 0.7808 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of SimCode: time 1.573e-06/0.5938, allocations: 0 / 0.7808 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of Templates: time 0.02123/0.6151, allocations: 13.93 MB / 0.7944 GB, free: 7.395 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) Environment - environmentSimulation: