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.006446/0.006446, allocations: 102 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.001379/0.001379, allocations: 196 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.78/0.78, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 59.91 kB / 0.5814 GB, free: 7.535 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5167/0.5182, allocations: 80.21 MB / 0.6597 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.206/0.7242, allocations: 187.3 MB / 0.8426 GB, free: 10.32 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01816/0.7425, allocations: 13.07 MB / 0.8553 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.7439, allocations: 31.81 kB / 0.8554 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.7454, allocations: 429.2 kB / 0.8558 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003452/0.7489, allocations: 1.202 MB / 0.857 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002117/0.751, allocations: 0.7065 MB / 0.8576 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002898/0.7539, allocations: 2.004 MB / 0.8596 GB, free: 8.844 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.7551, allocations: 0.8512 MB / 0.8604 GB, free: 7.973 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004755/0.7599, allocations: 1.872 MB / 0.8623 GB, free: 6.094 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001807/0.7617, allocations: 0.6696 MB / 0.8629 GB, free: 5.43 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001628/0.7619, allocations: 80 kB / 0.863 GB, free: 5.352 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00281/0.7647, allocations: 0.8731 MB / 0.8638 GB, free: 4.477 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005349/0.7652, allocations: 391 kB / 0.8642 GB, free: 4.094 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007741/0.766, allocations: 0.4937 MB / 0.8647 GB, free: 3.598 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002768/0.7688, allocations: 1.503 MB / 0.8662 GB, free: 2.09 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.7688, allocations: 0 / 0.8662 GB, free: 2.09 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.305e-06/0.7688, allocations: 0 / 0.8662 GB, free: 2.09 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.564e-05/0.7688, allocations: 0 / 0.8662 GB, free: 2.09 MB / 0.6856 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.002096/0.7709, allocations: 1.235 MB / 0.8674 GB, free: 0.8008 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.771, allocations: 12.03 kB / 0.8674 GB, free: 0.7891 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/0.7723, allocations: 206.7 kB / 0.8676 GB, free: 0.5859 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3639/1.136, allocations: 0.6775 MB / 0.8682 GB, free: 198.2 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.703e-05/1.136, allocations: 58.06 kB / 0.8683 GB, free: 198.2 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/1.136, allocations: 82.39 kB / 0.8684 GB, free: 198.2 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/1.138, allocations: 0.9369 MB / 0.8693 GB, free: 197.7 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/1.138, allocations: 2.25 kB / 0.8693 GB, free: 197.7 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.161e-05/1.138, allocations: 31.84 kB / 0.8693 GB, free: 197.7 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.1e-05/1.138, allocations: 37.14 kB / 0.8694 GB, free: 197.7 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/1.14, allocations: 0.6133 MB / 0.87 GB, free: 197.5 MB / 0.6856 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.004594/1.144, allocations: 4.571 MB / 0.8744 GB, free: 193.8 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000805/1.145, allocations: 0.5371 MB / 0.8749 GB, free: 193.5 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003807/1.145, allocations: 246.8 kB / 0.8752 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/1.146, allocations: 107.9 kB / 0.8753 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/1.146, allocations: 39.81 kB / 0.8753 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=43): time 1.984e-06/1.146, allocations: 0 / 0.8753 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=45): time 0.00295/1.149, allocations: 1.58 MB / 0.8769 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/1.149, allocations: 111 kB / 0.877 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009845/1.15, allocations: 0.7134 MB / 0.8777 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.323e-05/1.15, allocations: 37.39 kB / 0.8777 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/1.15, allocations: 414.4 kB / 0.8781 GB, free: 191.6 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/1.15, allocations: 164 kB / 0.8783 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/1.15, allocations: 118.5 kB / 0.8784 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.804e-05/1.15, allocations: 331.2 kB / 0.8787 GB, free: 191.1 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003246/1.151, allocations: 188.5 kB / 0.8789 GB, free: 191 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004689/1.151, allocations: 414.3 kB / 0.8793 GB, free: 190.7 MB / 0.6856 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.002296/1.153, allocations: 1.174 MB / 0.8804 GB, free: 190 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/1.153, allocations: 1.781 kB / 0.8804 GB, free: 190 MB / 0.6856 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001273/1.155, allocations: 0.6621 MB / 0.8811 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/1.155, allocations: 11.62 kB / 0.8811 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/1.155, allocations: 6.406 kB / 0.8811 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.498e-05/1.155, allocations: 9.719 kB / 0.8811 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005602/1.155, allocations: 129.2 kB / 0.8812 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.059e-05/1.155, allocations: 13.41 kB / 0.8812 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000573/1.156, allocations: 30.22 kB / 0.8812 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.116e-05/1.156, allocations: 26.66 kB / 0.8813 GB, free: 189.7 MB / 0.6856 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.0003627/1.157, allocations: 277 kB / 0.8815 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/1.157, allocations: 83.41 kB / 0.8816 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/1.157, allocations: 96.45 kB / 0.8817 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/1.157, allocations: 6.125 kB / 0.8817 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/1.157, allocations: 0.7031 kB / 0.8817 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006046/1.158, allocations: 0.7017 MB / 0.8824 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/1.16, allocations: 1.646 MB / 0.884 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.16, allocations: 3.938 kB / 0.884 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004769/1.16, allocations: 107 kB / 0.8841 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/1.16, allocations: 9.5 kB / 0.8841 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.48e-05/1.16, allocations: 17.31 kB / 0.8841 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/1.16, allocations: 10.39 kB / 0.8841 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.16, allocations: 4.344 kB / 0.8842 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009948/1.161, allocations: 0.8974 MB / 0.885 GB, free: 187 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002245/1.162, allocations: 205.9 kB / 0.8852 GB, free: 186.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/1.162, allocations: 23.55 kB / 0.8852 GB, free: 186.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004444/1.162, allocations: 13.42 kB / 0.8853 GB, free: 186.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.775e-05/1.162, allocations: 44.92 kB / 0.8853 GB, free: 186.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/1.162, allocations: 16.56 kB / 0.8853 GB, free: 186.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005671/1.163, allocations: 0.512 MB / 0.8858 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.9e-07/1.163, allocations: 0 / 0.8858 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000719/1.163, allocations: 199.5 kB / 0.886 GB, free: 186.4 MB / 0.6856 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.0004207/1.164, allocations: 202.1 kB / 0.8862 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0007457/1.165, allocations: 477.1 kB / 0.8867 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/1.165, allocations: 1.25 kB / 0.8867 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002792/1.165, allocations: 214.3 kB / 0.8869 GB, free: 186 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/1.167, allocations: 473.9 kB / 0.8873 GB, free: 185.8 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/1.169, allocations: 1.649 MB / 0.8889 GB, free: 184.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/1.17, allocations: 1.026 MB / 0.8899 GB, free: 183.8 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005828/1.17, allocations: 207.8 kB / 0.8901 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/1.17, allocations: 60.72 kB / 0.8902 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of SimCode: time 3.81e-07/1.17, allocations: 0 / 0.8902 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of Templates: time 0.0292/1.199, allocations: 15.21 MB / 0.905 GB, free: 176.3 MB / 0.6856 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)