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.007758/0.007758, allocations: 102.7 kB / 15.73 MB, free: 6.488 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.001914/0.001914, allocations: 195.2 kB / 16.68 MB, free: 6.375 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7789/0.7789, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 67.72 kB / 0.5814 GB, free: 0.832 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1761, allocations: 80.21 MB / 0.6597 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6309/0.8071, allocations: 190.4 MB / 0.8457 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01477/0.8219, allocations: 5.691 MB / 0.8512 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002691/0.8246, allocations: 41.16 kB / 0.8513 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002661/0.8274, allocations: 0.5965 MB / 0.8519 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008068/0.8354, allocations: 1.892 MB / 0.8537 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00491/0.8404, allocations: 1.189 MB / 0.8549 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005439/0.8458, allocations: 2.951 MB / 0.8577 GB, free: 2.727 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002396/0.8483, allocations: 1.13 MB / 0.8589 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003079/0.8514, allocations: 1.11 MB / 0.8599 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003082/0.8545, allocations: 0.9748 MB / 0.8609 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004673/0.855, allocations: 121.2 kB / 0.861 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005642/0.8606, allocations: 1.449 MB / 0.8624 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001299/0.8619, allocations: 0.5712 MB / 0.863 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002028/0.864, allocations: 0.722 MB / 0.8637 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006582/0.8706, allocations: 2.348 MB / 0.866 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.8706, allocations: 0 / 0.866 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.515e-06/0.8706, allocations: 1 kB / 0.866 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.661e-05/0.8707, allocations: 0 / 0.866 GB, free: 2.086 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.005383/0.8761, allocations: 1.613 MB / 0.8676 GB, free: 1.273 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.8762, allocations: 11.25 kB / 0.8676 GB, free: 1.273 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004146/0.8804, allocations: 332.6 kB / 0.8679 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002874/0.8833, allocations: 0.9191 MB / 0.8688 GB, free: 0.8672 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.252e-05/0.8834, allocations: 73.12 kB / 0.8688 GB, free: 0.8633 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003461/0.8837, allocations: 98.41 kB / 0.8689 GB, free: 0.8633 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003422/0.8872, allocations: 1.079 MB / 0.87 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.699e-05/0.8873, allocations: 4.344 kB / 0.87 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001917/0.8875, allocations: 45.81 kB / 0.87 GB, free: 0.8008 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-05/0.8876, allocations: 41.47 kB / 0.8701 GB, free: 0.8008 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003047/0.8906, allocations: 0.9872 MB / 0.871 GB, free: 0.793 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.01099/0.9016, allocations: 4.209 MB / 0.8752 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.9032, allocations: 0.5962 MB / 0.8757 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008463/0.904, allocations: 341.1 kB / 0.8761 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002946/0.9044, allocations: 105.2 kB / 0.8762 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.713e-05/0.9044, allocations: 47.28 kB / 0.8762 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=53): time 4.769e-06/0.9044, allocations: 0.8125 kB / 0.8762 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=55): time 0.006907/0.9114, allocations: 2.195 MB / 0.8784 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.9115, allocations: 61.88 kB / 0.8784 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.9132, allocations: 0.8835 MB / 0.8793 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001195/0.9133, allocations: 36.7 kB / 0.8793 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006547/0.914, allocations: 0.5244 MB / 0.8798 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003026/0.9143, allocations: 186.8 kB / 0.88 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003573/0.9147, allocations: 134.8 kB / 0.8801 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.9149, allocations: 340.4 kB / 0.8805 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008535/0.9158, allocations: 282.1 kB / 0.8807 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009982/0.9168, allocations: 450.6 kB / 0.8812 GB, free: 12.7 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.00706/0.9239, allocations: 1.728 MB / 0.8828 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.547e-06/0.9239, allocations: 3.219 kB / 0.8828 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002489/0.9264, allocations: 0.9298 MB / 0.8837 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.9265, allocations: 6.969 kB / 0.8838 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.9265, allocations: 5.031 kB / 0.8838 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003392/0.9268, allocations: 93.69 kB / 0.8839 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.928, allocations: 168.6 kB / 0.884 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005768/0.9338, allocations: 4.646 MB / 0.8885 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.9353, allocations: 34.83 kB / 0.8886 GB, free: 7.203 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.049e-05/0.9355, allocations: 28.59 kB / 0.8886 GB, free: 7.199 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.0008611/0.9363, allocations: 342.3 kB / 0.8889 GB, free: 6.992 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002687/0.9366, allocations: 102.4 kB / 0.889 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000268/0.9369, allocations: 112.4 kB / 0.8891 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.9369, allocations: 6.594 kB / 0.8891 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.9369, allocations: 1.688 kB / 0.8891 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001619/0.9386, allocations: 0.7619 MB / 0.8899 GB, free: 6.434 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005014/0.9436, allocations: 1.992 MB / 0.8918 GB, free: 5.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.9436, allocations: 2.406 kB / 0.8918 GB, free: 5.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/0.9448, allocations: 148.4 kB / 0.892 GB, free: 5.477 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001694/0.945, allocations: 42.2 kB / 0.892 GB, free: 5.461 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.956e-05/0.9451, allocations: 18.59 kB / 0.892 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002203/0.9473, allocations: 1.608 MB / 0.8936 GB, free: 3.984 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.9474, allocations: 5.469 kB / 0.8936 GB, free: 3.984 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00305/0.9504, allocations: 1.225 MB / 0.8948 GB, free: 3.359 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008215/0.9513, allocations: 257.3 kB / 0.8951 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/0.9515, allocations: 21.42 kB / 0.8951 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.9526, allocations: 36.36 kB / 0.8951 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.9528, allocations: 36.5 kB / 0.8951 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.9529, allocations: 38.48 kB / 0.8952 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001356/0.9543, allocations: 0.6112 MB / 0.8958 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9543, allocations: 0 / 0.8958 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001678/0.956, allocations: 302.1 kB / 0.8961 GB, free: 2.875 MB / 0.6544 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.0006795/0.9567, allocations: 205.3 kB / 0.8963 GB, free: 2.746 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002574/0.9593, allocations: 1.008 MB / 0.8972 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.9593, allocations: 0 / 0.8972 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.9604, allocations: 464.2 kB / 0.8977 GB, free: 1.992 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004672/0.9651, allocations: 0.6459 MB / 0.8983 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005589/0.9707, allocations: 2.083 MB / 0.9004 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001303/0.972, allocations: 1.168 MB / 0.9015 GB, free: 15.61 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001699/0.9738, allocations: 256.6 kB / 0.9017 GB, free: 15.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003386/0.9741, allocations: 78.78 kB / 0.9018 GB, free: 15.48 MB / 0.67 GB Notification: Performance of SimCode: time 1.112e-06/0.9741, allocations: 0 / 0.9018 GB, free: 15.48 MB / 0.67 GB Notification: Performance of Templates: time 0.06433/1.038, allocations: 22.51 MB / 0.9238 GB, free: 10.84 MB / 0.6856 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)