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.006273/0.006273, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.00143/0.00143, allocations: 193.5 kB / 16.67 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7761/0.7761, allocations: 132.2 MB / 422.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 59.91 kB / 0.5814 GB, free: 7.508 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5139/0.5153, allocations: 80.2 MB / 0.6597 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2061/0.7215, allocations: 187.3 MB / 0.8426 GB, free: 10.26 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01642/0.738, allocations: 13.07 MB / 0.8553 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001433/0.7394, allocations: 31.81 kB / 0.8554 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001433/0.7409, allocations: 433.2 kB / 0.8558 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003099/0.7441, allocations: 1.206 MB / 0.857 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.7459, allocations: 0.7061 MB / 0.8576 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002582/0.7485, allocations: 2.024 MB / 0.8596 GB, free: 8.758 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.7497, allocations: 0.8434 MB / 0.8604 GB, free: 7.895 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003955/0.7537, allocations: 1.876 MB / 0.8623 GB, free: 6.012 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001706/0.7554, allocations: 0.659 MB / 0.8629 GB, free: 5.355 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002541/0.7557, allocations: 84 kB / 0.863 GB, free: 5.273 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.7578, allocations: 0.8731 MB / 0.8638 GB, free: 4.398 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006414/0.7584, allocations: 387 kB / 0.8642 GB, free: 4.02 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001077/0.7595, allocations: 0.4976 MB / 0.8647 GB, free: 3.52 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003036/0.7626, allocations: 1.499 MB / 0.8662 GB, free: 2.016 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.7626, allocations: 0 / 0.8662 GB, free: 2.016 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.246e-06/0.7626, allocations: 3.938 kB / 0.8662 GB, free: 2.012 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.723e-05/0.7627, allocations: 0 / 0.8662 GB, free: 2.012 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.00262/0.7653, allocations: 1.231 MB / 0.8674 GB, free: 0.7266 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.7653, allocations: 12.03 kB / 0.8674 GB, free: 0.7148 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.7666, allocations: 206.7 kB / 0.8676 GB, free: 0.5117 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4074/1.174, allocations: 0.6749 MB / 0.8682 GB, free: 198.2 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.306e-05/1.174, allocations: 58.78 kB / 0.8683 GB, free: 198.2 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/1.174, allocations: 81.44 kB / 0.8684 GB, free: 198.2 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/1.177, allocations: 0.9354 MB / 0.8693 GB, free: 197.7 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.756e-05/1.177, allocations: 5.969 kB / 0.8693 GB, free: 197.7 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/1.177, allocations: 32.41 kB / 0.8693 GB, free: 197.6 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.908e-05/1.177, allocations: 28.69 kB / 0.8694 GB, free: 197.6 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/1.179, allocations: 0.6145 MB / 0.87 GB, free: 197.4 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.006536/1.185, allocations: 4.569 MB / 0.8744 GB, free: 193.8 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/1.186, allocations: 0.5355 MB / 0.8749 GB, free: 193.5 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005709/1.187, allocations: 245.7 kB / 0.8752 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002336/1.187, allocations: 104.7 kB / 0.8753 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/1.187, allocations: 43.22 kB / 0.8753 GB, free: 193.2 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=43): time 3.106e-06/1.187, allocations: 3.844 kB / 0.8753 GB, free: 193.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=45): time 0.004331/1.192, allocations: 1.586 MB / 0.8769 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/1.192, allocations: 107.2 kB / 0.877 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/1.193, allocations: 0.7144 MB / 0.8777 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.139e-05/1.193, allocations: 37.2 kB / 0.8777 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003643/1.194, allocations: 415.7 kB / 0.8781 GB, free: 191.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/1.194, allocations: 167.5 kB / 0.8783 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002731/1.194, allocations: 118.5 kB / 0.8784 GB, free: 191.3 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 7.811e-05/1.194, allocations: 327.5 kB / 0.8787 GB, free: 191 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004768/1.195, allocations: 188.4 kB / 0.8789 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006657/1.195, allocations: 420.7 kB / 0.8793 GB, free: 190.6 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.003207/1.198, allocations: 1.168 MB / 0.8804 GB, free: 190 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/1.198, allocations: 2.156 kB / 0.8804 GB, free: 190 MB / 0.6856 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001842/1.2, allocations: 0.6661 MB / 0.8811 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/1.2, allocations: 11.97 kB / 0.8811 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.581e-05/1.2, allocations: 6 kB / 0.8811 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.881e-05/1.2, allocations: 10 kB / 0.8811 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008199/1.201, allocations: 132.4 kB / 0.8812 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.31e-05/1.201, allocations: 13.5 kB / 0.8812 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009046/1.202, allocations: 28.55 kB / 0.8812 GB, free: 189.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-05/1.202, allocations: 27.58 kB / 0.8813 GB, free: 189.6 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.0005807/1.203, allocations: 276.3 kB / 0.8815 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002965/1.203, allocations: 87.28 kB / 0.8816 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/1.204, allocations: 89.22 kB / 0.8817 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/1.204, allocations: 5.5 kB / 0.8817 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/1.204, allocations: 0 / 0.8817 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009355/1.204, allocations: 0.7074 MB / 0.8824 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003363/1.208, allocations: 1.641 MB / 0.884 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/1.208, allocations: 3.906 kB / 0.884 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007228/1.209, allocations: 98.77 kB / 0.8841 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.564e-05/1.209, allocations: 10.66 kB / 0.8841 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.853e-05/1.209, allocations: 10.97 kB / 0.8841 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.344e-05/1.209, allocations: 14.05 kB / 0.8841 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/1.209, allocations: 10.28 kB / 0.8841 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/1.21, allocations: 0.8943 MB / 0.885 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003891/1.211, allocations: 202.2 kB / 0.8852 GB, free: 186.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/1.211, allocations: 19.89 kB / 0.8852 GB, free: 186.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006551/1.212, allocations: 19.84 kB / 0.8853 GB, free: 186.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.651e-05/1.212, allocations: 43.92 kB / 0.8853 GB, free: 186.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.962e-05/1.212, allocations: 22.12 kB / 0.8853 GB, free: 186.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008594/1.213, allocations: 0.5074 MB / 0.8858 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.2e-07/1.213, allocations: 1.469 kB / 0.8858 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001174/1.214, allocations: 202.3 kB / 0.886 GB, free: 186.3 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.0004888/1.214, allocations: 200.5 kB / 0.8862 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0009039/1.215, allocations: 479 kB / 0.8867 GB, free: 186 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/1.215, allocations: 0.9688 kB / 0.8867 GB, free: 186 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003037/1.216, allocations: 214.9 kB / 0.8869 GB, free: 185.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/1.218, allocations: 482 kB / 0.8873 GB, free: 185.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/1.22, allocations: 1.646 MB / 0.8889 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005006/1.221, allocations: 1.029 MB / 0.8899 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006849/1.221, allocations: 199.5 kB / 0.8901 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/1.221, allocations: 64.22 kB / 0.8902 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of SimCode: time 6.02e-07/1.222, allocations: 0 / 0.8902 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of Templates: time 0.02903/1.251, allocations: 15.19 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)