Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 103.3 kB / 16.35 MB, free: 5.824 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.001108/0.001108, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 14.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7849/0.7849, allocations: 132.2 MB / 423.3 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 63.91 kB / 0.5032 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3694, allocations: 80.19 MB / 0.5815 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5216/0.8911, allocations: 187.3 MB / 0.7644 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01371/0.9048, allocations: 13.06 MB / 0.7771 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.9062, allocations: 33.31 kB / 0.7771 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.9074, allocations: 430.5 kB / 0.7776 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002633/0.9101, allocations: 1.156 MB / 0.7787 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001687/0.9118, allocations: 0.7031 MB / 0.7794 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002385/0.9142, allocations: 2.009 MB / 0.7813 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001208/0.9154, allocations: 0.8481 MB / 0.7822 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00362/0.9191, allocations: 1.807 MB / 0.7839 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001333/0.9204, allocations: 0.6666 MB / 0.7846 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.9205, allocations: 79.53 kB / 0.7846 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.9221, allocations: 0.8688 MB / 0.7855 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003136/0.9224, allocations: 382.2 kB / 0.7859 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005153/0.9229, allocations: 0.498 MB / 0.7863 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.9247, allocations: 1.503 MB / 0.7878 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.9247, allocations: 0.9688 kB / 0.7878 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9247, allocations: 0 / 0.7878 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.9247, allocations: 0 / 0.7878 GB, free: 1.293 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001651/0.9264, allocations: 1.241 MB / 0.789 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.9264, allocations: 7.969 kB / 0.789 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.9275, allocations: 218 kB / 0.7892 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.9286, allocations: 0.6769 MB / 0.7899 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.695e-05/0.9286, allocations: 58.66 kB / 0.79 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.9287, allocations: 78.22 kB / 0.79 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.9298, allocations: 0.927 MB / 0.7909 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.9299, allocations: 6.875 kB / 0.7909 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.999e-05/0.9299, allocations: 31.62 kB / 0.791 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.429e-05/0.93, allocations: 36.03 kB / 0.791 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008261/0.9308, allocations: 0.6143 MB / 0.7916 GB, free: 15.98 MB / 0.5919 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.003849/0.9347, allocations: 4.569 MB / 0.7961 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006183/0.9353, allocations: 0.5342 MB / 0.7966 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002807/0.9356, allocations: 245.9 kB / 0.7968 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/0.9358, allocations: 101.4 kB / 0.7969 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.9358, allocations: 42.78 kB / 0.797 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.134e-06/0.9358, allocations: 0.75 kB / 0.797 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.002511/0.9384, allocations: 1.588 MB / 0.7985 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/0.9384, allocations: 116.6 kB / 0.7986 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007654/0.9392, allocations: 0.7131 MB / 0.7993 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.715e-05/0.9393, allocations: 37.45 kB / 0.7994 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/0.9396, allocations: 416.9 kB / 0.7998 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.9397, allocations: 160.5 kB / 0.7999 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.9399, allocations: 126.2 kB / 0.8 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.94, allocations: 324.4 kB / 0.8003 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.9402, allocations: 191.9 kB / 0.8005 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004149/0.9406, allocations: 415.2 kB / 0.8009 GB, free: 10.72 MB / 0.5919 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001966/0.9426, allocations: 1.163 MB / 0.8021 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.9426, allocations: 4.438 kB / 0.8021 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008857/0.9435, allocations: 0.6636 MB / 0.8027 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.9436, allocations: 9.375 kB / 0.8027 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.9436, allocations: 9.031 kB / 0.8027 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.9436, allocations: 10.12 kB / 0.8027 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004251/0.944, allocations: 135.2 kB / 0.8029 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.9441, allocations: 8.469 kB / 0.8029 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005083/0.9446, allocations: 32.42 kB / 0.8029 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.728e-05/0.9446, allocations: 26.03 kB / 0.8029 GB, free: 10.31 MB / 0.5919 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003102/0.9449, allocations: 282.1 kB / 0.8032 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.9451, allocations: 83.91 kB / 0.8033 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.9452, allocations: 96.28 kB / 0.8034 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.9452, allocations: 3.406 kB / 0.8034 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.9453, allocations: 2.938 kB / 0.8034 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006122/0.9459, allocations: 0.6971 MB / 0.8041 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/0.9481, allocations: 1.65 MB / 0.8057 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.9481, allocations: 5.156 kB / 0.8057 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004202/0.9485, allocations: 99.3 kB / 0.8058 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.9485, allocations: 4.812 kB / 0.8058 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.202e-05/0.9486, allocations: 19.38 kB / 0.8058 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.9486, allocations: 8.188 kB / 0.8058 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.9486, allocations: 9.531 kB / 0.8058 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009525/0.9496, allocations: 0.894 MB / 0.8067 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002928/0.9499, allocations: 210.5 kB / 0.8069 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.571e-05/0.95, allocations: 19.72 kB / 0.8069 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004121/0.9504, allocations: 18.81 kB / 0.8069 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.173e-05/0.9505, allocations: 43.73 kB / 0.807 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.9505, allocations: 18.81 kB / 0.807 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005456/0.951, allocations: 0.5106 MB / 0.8075 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.951, allocations: 0 / 0.8075 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006624/0.9517, allocations: 201.2 kB / 0.8077 GB, free: 8.516 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004273/0.9522, allocations: 201.4 kB / 0.8079 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000643/0.9528, allocations: 479.8 kB / 0.8083 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.9528, allocations: 2.875 kB / 0.8083 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002421/0.9531, allocations: 209.1 kB / 0.8085 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/0.9549, allocations: 482 kB / 0.809 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.9572, allocations: 1.643 MB / 0.8106 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005631/0.9578, allocations: 1.036 MB / 0.8116 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005505/0.9584, allocations: 200.1 kB / 0.8118 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.9585, allocations: 61.11 kB / 0.8118 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.9585, allocations: 0 / 0.8118 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of Templates: time 0.02681/0.9853, allocations: 15.05 MB / 0.8265 GB, free: 1.445 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)