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.001223/0.001223, allocations: 106.5 kB / 16.41 MB, free: 5.973 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.001286/0.001286, allocations: 186.9 kB / 17.34 MB, free: 5.586 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7597/0.7597, allocations: 132.2 MB / 423.4 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 66.5 kB / 0.582 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1489, allocations: 80.21 MB / 0.6604 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5699/0.7188, allocations: 190.5 MB / 0.8463 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009754/0.7286, allocations: 5.686 MB / 0.8519 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001756/0.7304, allocations: 36.97 kB / 0.8519 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001681/0.7321, allocations: 0.5709 MB / 0.8525 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004954/0.7371, allocations: 1.833 MB / 0.8543 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003194/0.7403, allocations: 1.17 MB / 0.8554 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003994/0.7443, allocations: 2.959 MB / 0.8583 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001465/0.7458, allocations: 1.127 MB / 0.8594 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001986/0.7478, allocations: 1.083 MB / 0.8605 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001945/0.7498, allocations: 0.9596 MB / 0.8614 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002393/0.75, allocations: 123.8 kB / 0.8615 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003186/0.7532, allocations: 1.446 MB / 0.8629 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005638/0.7538, allocations: 0.5728 MB / 0.8635 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008471/0.7546, allocations: 0.7195 MB / 0.8642 GB, free: 5.273 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003471/0.7581, allocations: 2.345 MB / 0.8665 GB, free: 2.922 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.7581, allocations: 0 / 0.8665 GB, free: 2.922 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.545e-06/0.7581, allocations: 0 / 0.8665 GB, free: 2.922 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.203e-05/0.7582, allocations: 0 / 0.8665 GB, free: 2.922 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.002514/0.7607, allocations: 1.62 MB / 0.8681 GB, free: 1.25 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.7607, allocations: 12.03 kB / 0.8681 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001947/0.7627, allocations: 322.2 kB / 0.8684 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.7641, allocations: 0.9175 MB / 0.8693 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.615e-05/0.7641, allocations: 77.91 kB / 0.8694 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.7643, allocations: 103.9 kB / 0.8695 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.7661, allocations: 1.073 MB / 0.8705 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.7661, allocations: 0 / 0.8705 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-05/0.7662, allocations: 44 kB / 0.8706 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.73e-05/0.7663, allocations: 41.98 kB / 0.8706 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.7678, allocations: 0.9876 MB / 0.8716 GB, free: 13.62 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.005515/0.7733, allocations: 4.223 MB / 0.8757 GB, free: 9.102 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00086/0.7742, allocations: 0.5991 MB / 0.8763 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004729/0.7747, allocations: 342.5 kB / 0.8766 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002008/0.7749, allocations: 101.5 kB / 0.8767 GB, free: 8.043 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.775, allocations: 43 kB / 0.8767 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=53): time 1.923e-06/0.775, allocations: 0 / 0.8767 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of matching and sorting (n=55): time 0.003966/0.7789, allocations: 2.204 MB / 0.8789 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.779, allocations: 55.97 kB / 0.8789 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.7801, allocations: 0.8843 MB / 0.8798 GB, free: 4.703 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.917e-05/0.7801, allocations: 37.7 kB / 0.8798 GB, free: 4.66 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003578/0.7805, allocations: 0.5184 MB / 0.8803 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.7807, allocations: 201.1 kB / 0.8805 GB, free: 3.934 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.7809, allocations: 130.6 kB / 0.8807 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.781, allocations: 334 kB / 0.881 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004574/0.7814, allocations: 285.8 kB / 0.8813 GB, free: 3.188 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005559/0.782, allocations: 442.7 kB / 0.8817 GB, free: 2.695 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.003687/0.7857, allocations: 1.734 MB / 0.8834 GB, free: 0.8906 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.7857, allocations: 4 kB / 0.8834 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001472/0.7872, allocations: 0.9227 MB / 0.8843 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.7872, allocations: 7.938 kB / 0.8843 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.7872, allocations: 4 kB / 0.8843 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002172/0.7875, allocations: 107 kB / 0.8844 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007098/0.7882, allocations: 159.8 kB / 0.8845 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003555/0.7918, allocations: 4.643 MB / 0.8891 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009507/0.7927, allocations: 27.92 kB / 0.8891 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.403e-05/0.7928, allocations: 28 kB / 0.8891 GB, free: 10.55 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.0005569/0.7934, allocations: 343.1 kB / 0.8895 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/0.7936, allocations: 106.9 kB / 0.8896 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.7938, allocations: 109.2 kB / 0.8897 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.7939, allocations: 7.938 kB / 0.8897 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.7939, allocations: 0 / 0.8897 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00105/0.7949, allocations: 0.773 MB / 0.8904 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003173/0.7981, allocations: 1.973 MB / 0.8923 GB, free: 7.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.7981, allocations: 11.92 kB / 0.8924 GB, free: 7.078 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006668/0.7988, allocations: 143.8 kB / 0.8925 GB, free: 6.938 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001101/0.7989, allocations: 49.22 kB / 0.8925 GB, free: 6.887 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.68e-05/0.799, allocations: 16 kB / 0.8926 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.8002, allocations: 1.614 MB / 0.8941 GB, free: 5.113 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.8002, allocations: 7.938 kB / 0.8941 GB, free: 5.105 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.802, allocations: 1.235 MB / 0.8953 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004733/0.8025, allocations: 251.9 kB / 0.8956 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/0.8027, allocations: 15.98 kB / 0.8956 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007794/0.8035, allocations: 35.92 kB / 0.8956 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.8036, allocations: 51.81 kB / 0.8957 GB, free: 3.453 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.946e-05/0.8037, allocations: 31.98 kB / 0.8957 GB, free: 3.422 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008265/0.8045, allocations: 0.6122 MB / 0.8963 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8045, allocations: 0 / 0.8963 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001082/0.8056, allocations: 300 kB / 0.8966 GB, free: 2.52 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.0004973/0.8061, allocations: 196.2 kB / 0.8968 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001619/0.8077, allocations: 1.015 MB / 0.8978 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.8078, allocations: 0 / 0.8978 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006167/0.8084, allocations: 455.6 kB / 0.8982 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002896/0.8113, allocations: 0.6435 MB / 0.8988 GB, free: 212 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003507/0.8148, allocations: 2.166 MB / 0.901 GB, free: 13.97 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008498/0.8157, allocations: 1.17 MB / 0.9021 GB, free: 12.77 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/0.816, allocations: 75.44 kB / 0.9022 GB, free: 12.7 MB / 0.67 GB Notification: Performance of SimCode: time 7.01e-07/0.816, allocations: 0 / 0.9022 GB, free: 12.7 MB / 0.67 GB Notification: Performance of Templates: time 0.03378/0.8498, allocations: 27.09 MB / 0.9286 GB, free: 1.734 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)