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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7794/0.7794, allocations: 133.3 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 222.9 MB / 404.7 MB, free: 5.973 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 95.45 kB / 485.9 MB, free: 7.141 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009701/0.0009702, allocations: 59.91 kB / 0.5636 GB, free: 69.88 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1245, allocations: 80.42 MB / 0.6421 GB, free: 5.387 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4457/0.5702, allocations: 188.2 MB / 0.8259 GB, free: 4.844 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.008539/0.5788, allocations: 5.749 MB / 0.8315 GB, free: 15.09 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.5799, allocations: 39.75 kB / 0.8316 GB, free: 15.05 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.5812, allocations: 0.5013 MB / 0.8321 GB, free: 14.54 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.003757/0.585, allocations: 1.716 MB / 0.8338 GB, free: 12.82 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002475/0.5874, allocations: 1.072 MB / 0.8348 GB, free: 11.76 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.00471/0.5922, allocations: 4.104 MB / 0.8388 GB, free: 7.641 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.5934, allocations: 0.9696 MB / 0.8398 GB, free: 6.648 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.5949, allocations: 0.918 MB / 0.8407 GB, free: 5.727 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001919/0.5968, allocations: 0.9893 MB / 0.8416 GB, free: 4.738 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001561/0.597, allocations: 60 kB / 0.8417 GB, free: 4.68 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003739/0.6007, allocations: 1.644 MB / 0.8433 GB, free: 3.031 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0007032/0.6015, allocations: 0.522 MB / 0.8438 GB, free: 2.508 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0009167/0.6024, allocations: 0.6492 MB / 0.8444 GB, free: 1.855 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.003703/0.6061, allocations: 2.36 MB / 0.8467 GB, free: 15.49 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.6061, allocations: 0 / 0.8467 GB, free: 15.49 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.824e-06/0.6061, allocations: 0 / 0.8467 GB, free: 15.49 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.824e-05/0.6062, allocations: 0 / 0.8467 GB, free: 15.49 MB / 0.5886 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.002991/0.6092, allocations: 1.628 MB / 0.8483 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.6092, allocations: 8.031 kB / 0.8483 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001966/0.6112, allocations: 330.2 kB / 0.8486 GB, free: 13.47 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.6127, allocations: 0.8746 MB / 0.8495 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.049e-05/0.6128, allocations: 70 kB / 0.8496 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.613, allocations: 99.94 kB / 0.8497 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/0.6147, allocations: 1.097 MB / 0.8507 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.6147, allocations: 3.938 kB / 0.8507 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.422e-05/0.6148, allocations: 44 kB / 0.8508 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-05/0.6149, allocations: 38 kB / 0.8508 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/0.6165, allocations: 0.9876 MB / 0.8518 GB, free: 10.21 MB / 0.5886 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.005975/0.6225, allocations: 4.235 MB / 0.8559 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009835/0.6235, allocations: 0.5996 MB / 0.8565 GB, free: 5.078 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004978/0.624, allocations: 338.6 kB / 0.8568 GB, free: 4.746 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002388/0.6242, allocations: 105.5 kB / 0.8569 GB, free: 4.621 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/0.6243, allocations: 43 kB / 0.857 GB, free: 4.57 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=53): time 3.677e-06/0.6243, allocations: 7.938 kB / 0.857 GB, free: 4.562 MB / 0.5886 GB Notification: Performance of matching and sorting (n=55): time 0.004012/0.6283, allocations: 2.204 MB / 0.8591 GB, free: 2.242 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.6284, allocations: 55.97 kB / 0.8592 GB, free: 2.176 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.6294, allocations: 0.8804 MB / 0.86 GB, free: 1.285 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.03e-05/0.6295, allocations: 41.7 kB / 0.8601 GB, free: 1.238 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/0.6299, allocations: 0.5146 MB / 0.8606 GB, free: 0.7148 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.6301, allocations: 197.2 kB / 0.8608 GB, free: 0.5195 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/0.6303, allocations: 130.6 kB / 0.8609 GB, free: 396 kB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.6304, allocations: 330 kB / 0.8612 GB, free: 60 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004848/0.6309, allocations: 285.9 kB / 0.8615 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005769/0.6315, allocations: 450.6 kB / 0.8619 GB, free: 15.28 MB / 0.6042 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.00382/0.6353, allocations: 1.727 MB / 0.8636 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.6353, allocations: 4 kB / 0.8636 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001514/0.6368, allocations: 0.9262 MB / 0.8645 GB, free: 12.53 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.6369, allocations: 11.94 kB / 0.8645 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.6369, allocations: 4 kB / 0.8645 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002056/0.6371, allocations: 94.45 kB / 0.8646 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006949/0.6378, allocations: 163.8 kB / 0.8648 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003175/0.641, allocations: 4.29 MB / 0.869 GB, free: 7.562 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009537/0.6419, allocations: 67.89 kB / 0.869 GB, free: 7.496 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.06e-05/0.642, allocations: 24 kB / 0.869 GB, free: 7.473 MB / 0.6042 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.000502/0.6425, allocations: 350.3 kB / 0.8694 GB, free: 7.125 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.6427, allocations: 106.8 kB / 0.8695 GB, free: 7.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.6429, allocations: 113.2 kB / 0.8696 GB, free: 6.906 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.6429, allocations: 7.938 kB / 0.8696 GB, free: 6.898 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.6429, allocations: 4 kB / 0.8696 GB, free: 6.895 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001017/0.6439, allocations: 0.7613 MB / 0.8703 GB, free: 6.082 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003025/0.647, allocations: 1.98 MB / 0.8723 GB, free: 4.004 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.647, allocations: 4 kB / 0.8723 GB, free: 4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006498/0.6477, allocations: 147.8 kB / 0.8724 GB, free: 3.855 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.932e-05/0.6478, allocations: 48.77 kB / 0.8725 GB, free: 3.805 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-05/0.6478, allocations: 19.98 kB / 0.8725 GB, free: 3.785 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/0.6489, allocations: 1.484 MB / 0.8739 GB, free: 2.164 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.649, allocations: 7.938 kB / 0.8739 GB, free: 2.156 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006432/0.6554, allocations: 4.567 MB / 0.8784 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004665/0.6559, allocations: 252.2 kB / 0.8786 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.656, allocations: 16 kB / 0.8787 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007801/0.6568, allocations: 70.02 kB / 0.8787 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.657, allocations: 55.81 kB / 0.8788 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.075e-05/0.657, allocations: 31.98 kB / 0.8788 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007811/0.6578, allocations: 0.6122 MB / 0.8794 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6578, allocations: 0 / 0.8794 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001205/0.659, allocations: 436 kB / 0.8798 GB, free: 11.94 MB / 0.6198 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.0004002/0.6594, allocations: 184.5 kB / 0.88 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001428/0.6609, allocations: 1.018 MB / 0.881 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6609, allocations: 0 / 0.881 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005917/0.6615, allocations: 448 kB / 0.8814 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002768/0.6643, allocations: 0.6193 MB / 0.882 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003448/0.6677, allocations: 2.874 MB / 0.8848 GB, free: 6.684 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007635/0.6685, allocations: 1.197 MB / 0.886 GB, free: 5.453 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0009397/0.6695, allocations: 260.3 kB / 0.8862 GB, free: 5.195 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.6697, allocations: 75.44 kB / 0.8863 GB, free: 5.121 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.6697, allocations: 0 / 0.8863 GB, free: 5.121 MB / 0.6198 GB Notification: Performance of Templates: time 0.0335/0.7032, allocations: 22.5 MB / 0.9083 GB, free: 14.87 MB / 0.6511 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)