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: translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001509/0.001509, allocations: 108.3 kB / 16.41 MB, free: 6.492 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.001487/0.001487, allocations: 189.6 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7984/0.7984, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002687/0.002687, allocations: 67.02 kB / 0.5863 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2031, allocations: 80.93 MB / 0.6653 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6704/0.8736, allocations: 190.5 MB / 0.8513 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01064/0.8843, allocations: 5.691 MB / 0.8569 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002104/0.8864, allocations: 40.81 kB / 0.8569 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001738/0.8882, allocations: 0.5698 MB / 0.8575 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005446/0.8937, allocations: 1.823 MB / 0.8593 GB, free: 6.691 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003522/0.8972, allocations: 1.181 MB / 0.8604 GB, free: 5.793 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004919/0.9022, allocations: 2.949 MB / 0.8633 GB, free: 4.105 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002218/0.9044, allocations: 1.118 MB / 0.8644 GB, free: 3.324 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002969/0.9074, allocations: 1.086 MB / 0.8654 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002776/0.9102, allocations: 0.9587 MB / 0.8664 GB, free: 1.285 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000444/0.9106, allocations: 124 kB / 0.8665 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003821/0.9145, allocations: 1.446 MB / 0.8679 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008795/0.9154, allocations: 0.5728 MB / 0.8685 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.9167, allocations: 0.7234 MB / 0.8692 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003915/0.9206, allocations: 2.349 MB / 0.8715 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.9206, allocations: 0 / 0.8715 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.913e-06/0.9206, allocations: 0 / 0.8715 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.05e-05/0.9207, allocations: 0 / 0.8715 GB, free: 12.06 MB / 0.6387 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.002697/0.9234, allocations: 1.624 MB / 0.873 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.9234, allocations: 13.11 kB / 0.8731 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002054/0.9255, allocations: 326.2 kB / 0.8734 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/0.927, allocations: 0.9059 MB / 0.8743 GB, free: 9.102 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.113e-05/0.927, allocations: 85.97 kB / 0.8743 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/0.9272, allocations: 103.8 kB / 0.8744 GB, free: 8.914 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.929, allocations: 1.081 MB / 0.8755 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.929, allocations: 0 / 0.8755 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.9291, allocations: 44 kB / 0.8755 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.332e-05/0.9292, allocations: 41.98 kB / 0.8756 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/0.9308, allocations: 0.9876 MB / 0.8765 GB, free: 6.754 MB / 0.6387 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.006115/0.9369, allocations: 4.212 MB / 0.8807 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009156/0.9378, allocations: 0.5997 MB / 0.8812 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005043/0.9384, allocations: 342.5 kB / 0.8816 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002035/0.9386, allocations: 109.5 kB / 0.8817 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.9386, allocations: 39 kB / 0.8817 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=53): time 2.775e-06/0.9386, allocations: 0 / 0.8817 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of matching and sorting (n=55): time 0.00414/0.9428, allocations: 2.205 MB / 0.8839 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.9428, allocations: 55.97 kB / 0.8839 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.9439, allocations: 0.8804 MB / 0.8848 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.213e-05/0.944, allocations: 37.7 kB / 0.8848 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000412/0.9444, allocations: 0.5185 MB / 0.8853 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.9446, allocations: 197.1 kB / 0.8855 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/0.9448, allocations: 134.5 kB / 0.8856 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.9449, allocations: 334 kB / 0.886 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004704/0.9454, allocations: 285.8 kB / 0.8862 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005747/0.946, allocations: 442.7 kB / 0.8866 GB, free: 11.85 MB / 0.6544 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.003752/0.9497, allocations: 1.737 MB / 0.8883 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.9497, allocations: 4 kB / 0.8883 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001544/0.9513, allocations: 0.9218 MB / 0.8892 GB, free: 9.098 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.9513, allocations: 7.938 kB / 0.8893 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.9513, allocations: 4 kB / 0.8893 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002103/0.9516, allocations: 99.02 kB / 0.8894 GB, free: 8.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006994/0.9523, allocations: 167.7 kB / 0.8895 GB, free: 8.816 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003519/0.9558, allocations: 4.649 MB / 0.8941 GB, free: 3.746 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.9569, allocations: 38.27 kB / 0.8941 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.252e-05/0.9569, allocations: 24 kB / 0.8941 GB, free: 3.688 MB / 0.6544 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006513/0.9576, allocations: 341.6 kB / 0.8944 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.9578, allocations: 103 kB / 0.8945 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001984/0.958, allocations: 113.1 kB / 0.8946 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.958, allocations: 4 kB / 0.8946 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.958, allocations: 0 / 0.8946 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001057/0.9591, allocations: 0.7768 MB / 0.8954 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002995/0.9621, allocations: 1.984 MB / 0.8973 GB, free: 216 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.9621, allocations: 4 kB / 0.8973 GB, free: 212 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006684/0.9628, allocations: 147.8 kB / 0.8975 GB, free: 64 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001104/0.9629, allocations: 45.23 kB / 0.8975 GB, free: 16 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.067e-05/0.9629, allocations: 16 kB / 0.8975 GB, free: 0 / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/0.9642, allocations: 1.602 MB / 0.8991 GB, free: 14.26 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.9642, allocations: 7.938 kB / 0.8991 GB, free: 14.25 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.966, allocations: 1.231 MB / 0.9003 GB, free: 12.96 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004221/0.9664, allocations: 255.8 kB / 0.9006 GB, free: 12.69 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.9665, allocations: 19.98 kB / 0.9006 GB, free: 12.67 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007064/0.9672, allocations: 35.97 kB / 0.9006 GB, free: 12.64 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.9674, allocations: 55.81 kB / 0.9007 GB, free: 12.58 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.746e-05/0.9674, allocations: 27.98 kB / 0.9007 GB, free: 12.55 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008098/0.9682, allocations: 0.6083 MB / 0.9013 GB, free: 11.95 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9683, allocations: 4 kB / 0.9013 GB, free: 11.95 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001004/0.9693, allocations: 304 kB / 0.9016 GB, free: 11.65 MB / 0.67 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004945/0.9698, allocations: 182.1 kB / 0.9018 GB, free: 11.47 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001537/0.9713, allocations: 1.015 MB / 0.9027 GB, free: 10.41 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.9713, allocations: 4 kB / 0.9028 GB, free: 10.41 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005884/0.9719, allocations: 447.7 kB / 0.9032 GB, free: 9.961 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002714/0.9747, allocations: 0.6525 MB / 0.9038 GB, free: 9.32 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/0.978, allocations: 2.15 MB / 0.9059 GB, free: 7.094 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007543/0.9788, allocations: 1.17 MB / 0.9071 GB, free: 5.895 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/0.979, allocations: 79.44 kB / 0.9071 GB, free: 5.816 MB / 0.67 GB Notification: Performance of SimCode: time 9.31e-07/0.9791, allocations: 0 / 0.9071 GB, free: 5.816 MB / 0.67 GB Notification: Performance of Templates: time 0.03624/1.015, allocations: 27.1 MB / 0.9336 GB, free: 10.82 MB / 0.7012 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)