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.00142/0.00142, allocations: 105.1 kB / 16.41 MB, free: 6.496 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.00132/0.001319, allocations: 191 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.301/1.301, 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/package.mo): time 0.7638/0.7638, allocations: 132.2 MB / 423.4 MB, free: 6.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 63.31 kB / 0.582 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1427, allocations: 80.21 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5828/0.7255, allocations: 190.4 MB / 0.8463 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01027/0.7358, allocations: 5.688 MB / 0.8519 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001916/0.7378, allocations: 45.38 kB / 0.8519 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001996/0.7399, allocations: 0.5694 MB / 0.8525 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005631/0.7455, allocations: 1.825 MB / 0.8543 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003433/0.749, allocations: 1.176 MB / 0.8554 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004368/0.7534, allocations: 2.948 MB / 0.8583 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001984/0.7554, allocations: 1.135 MB / 0.8594 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00227/0.7576, allocations: 1.079 MB / 0.8605 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002326/0.76, allocations: 0.9631 MB / 0.8614 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004456/0.7604, allocations: 124.3 kB / 0.8615 GB, free: 7.875 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003306/0.7638, allocations: 1.446 MB / 0.8629 GB, free: 6.426 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008013/0.7646, allocations: 0.5767 MB / 0.8635 GB, free: 5.848 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001533/0.7661, allocations: 0.7195 MB / 0.8642 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004217/0.7703, allocations: 2.349 MB / 0.8665 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.7704, allocations: 0 / 0.8665 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.704e-06/0.7704, allocations: 0 / 0.8665 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.932e-05/0.7704, allocations: 0 / 0.8665 GB, free: 2.77 MB / 0.6231 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.00319/0.7736, allocations: 1.612 MB / 0.8681 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.7737, allocations: 12.03 kB / 0.8681 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002223/0.7759, allocations: 326.1 kB / 0.8684 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.7776, allocations: 0.9214 MB / 0.8693 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.923e-05/0.7777, allocations: 74 kB / 0.8694 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.7778, allocations: 95.94 kB / 0.8695 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.7797, allocations: 1.077 MB / 0.8705 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.7797, allocations: 0 / 0.8705 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.7798, allocations: 47.98 kB / 0.8706 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.773e-05/0.7799, allocations: 41.98 kB / 0.8706 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/0.7816, allocations: 0.9954 MB / 0.8716 GB, free: 13.47 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.006185/0.7878, allocations: 4.212 MB / 0.8757 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008686/0.7887, allocations: 0.5971 MB / 0.8763 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004889/0.7892, allocations: 338.5 kB / 0.8766 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001973/0.7894, allocations: 101.5 kB / 0.8767 GB, free: 7.906 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.7894, allocations: 43 kB / 0.8767 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=53): time 2.074e-06/0.7894, allocations: 0 / 0.8767 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of matching and sorting (n=55): time 0.004064/0.7935, allocations: 2.204 MB / 0.8789 GB, free: 5.531 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.7936, allocations: 59.91 kB / 0.8789 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.7947, allocations: 0.8843 MB / 0.8798 GB, free: 4.562 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.906e-05/0.7947, allocations: 37.7 kB / 0.8798 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004003/0.7951, allocations: 0.5184 MB / 0.8803 GB, free: 3.992 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/0.7954, allocations: 201.1 kB / 0.8805 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002423/0.7956, allocations: 130.6 kB / 0.8807 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.7958, allocations: 337.9 kB / 0.881 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004813/0.7963, allocations: 281.8 kB / 0.8812 GB, free: 3.047 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005683/0.7968, allocations: 446.6 kB / 0.8817 GB, free: 2.551 MB / 0.6387 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.003694/0.8005, allocations: 1.734 MB / 0.8834 GB, free: 0.7461 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.8006, allocations: 4.875 kB / 0.8834 GB, free: 0.7422 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001466/0.802, allocations: 0.9218 MB / 0.8843 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.8021, allocations: 8.438 kB / 0.8843 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.8021, allocations: 8 kB / 0.8843 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002109/0.8023, allocations: 98.52 kB / 0.8844 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006911/0.803, allocations: 159.8 kB / 0.8845 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003414/0.8064, allocations: 4.643 MB / 0.8891 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008789/0.8073, allocations: 37.95 kB / 0.8891 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.295e-05/0.8074, allocations: 28 kB / 0.8891 GB, free: 10.4 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.0005357/0.8079, allocations: 345.6 kB / 0.8895 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002146/0.8082, allocations: 110.7 kB / 0.8896 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.8084, allocations: 109.2 kB / 0.8897 GB, free: 9.84 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.8084, allocations: 4 kB / 0.8897 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.8084, allocations: 0 / 0.8897 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001054/0.8095, allocations: 0.7691 MB / 0.8904 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003133/0.8126, allocations: 1.984 MB / 0.8924 GB, free: 6.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.8127, allocations: 4 kB / 0.8924 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006685/0.8133, allocations: 148.2 kB / 0.8925 GB, free: 6.781 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001128/0.8135, allocations: 48.77 kB / 0.8926 GB, free: 6.73 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.496e-05/0.8135, allocations: 16 kB / 0.8926 GB, free: 6.715 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001191/0.8147, allocations: 1.61 MB / 0.8941 GB, free: 4.961 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.8147, allocations: 7.984 kB / 0.8941 GB, free: 4.953 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.8164, allocations: 1.231 MB / 0.8953 GB, free: 3.672 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004634/0.8169, allocations: 251.9 kB / 0.8956 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/0.8171, allocations: 15.98 kB / 0.8956 GB, free: 3.391 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007565/0.8179, allocations: 31.98 kB / 0.8956 GB, free: 3.359 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.818, allocations: 51.81 kB / 0.8957 GB, free: 3.309 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.806e-05/0.8181, allocations: 31.98 kB / 0.8957 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008321/0.8189, allocations: 0.6122 MB / 0.8963 GB, free: 2.668 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8189, allocations: 0 / 0.8963 GB, free: 2.668 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000973/0.8199, allocations: 303.9 kB / 0.8966 GB, free: 2.371 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.0004623/0.8204, allocations: 188.7 kB / 0.8968 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001503/0.8219, allocations: 1.015 MB / 0.8978 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.8219, allocations: 0 / 0.8978 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005957/0.8225, allocations: 455.9 kB / 0.8982 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002666/0.8252, allocations: 0.6435 MB / 0.8988 GB, free: 68 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003646/0.8288, allocations: 2.172 MB / 0.901 GB, free: 13.82 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008833/0.8297, allocations: 1.166 MB / 0.9021 GB, free: 12.62 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000273/0.83, allocations: 79.44 kB / 0.9022 GB, free: 12.55 MB / 0.67 GB Notification: Performance of SimCode: time 9.42e-07/0.83, allocations: 7.938 kB / 0.9022 GB, free: 12.54 MB / 0.67 GB Notification: Performance of Templates: time 0.0346/0.8646, allocations: 27.22 MB / 0.9288 GB, free: 1.449 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)