Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.008303/0.008303, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.002045/0.002045, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9646/0.9646, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.91 kB / 0.5856 GB, free: 3.352 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.431, allocations: 80.92 MB / 0.6647 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2017/0.6327, allocations: 187.3 MB / 0.8475 GB, free: 5.734 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01549/0.6482, allocations: 13.06 MB / 0.8603 GB, free: 8.633 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.6493, allocations: 31.81 kB / 0.8603 GB, free: 8.602 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.6506, allocations: 437.1 kB / 0.8607 GB, free: 8.172 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00292/0.6536, allocations: 1.202 MB / 0.8619 GB, free: 6.965 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.6554, allocations: 0.7103 MB / 0.8626 GB, free: 6.258 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002417/0.6578, allocations: 2.016 MB / 0.8646 GB, free: 4.238 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001333/0.6591, allocations: 0.8395 MB / 0.8654 GB, free: 3.379 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004283/0.6634, allocations: 1.876 MB / 0.8672 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001664/0.6651, allocations: 0.6628 MB / 0.8679 GB, free: 0.8359 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.6653, allocations: 80 kB / 0.868 GB, free: 0.7578 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4596/1.125, allocations: 0.8694 MB / 0.8688 GB, free: 5.445 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007398/1.126, allocations: 382.5 kB / 0.8692 GB, free: 5.445 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009266/1.127, allocations: 0.4996 MB / 0.8697 GB, free: 5.445 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003071/1.13, allocations: 1.496 MB / 0.8711 GB, free: 5.41 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.13, allocations: 1.719 kB / 0.8711 GB, free: 5.41 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.715e-06/1.13, allocations: 0.5625 kB / 0.8711 GB, free: 5.41 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.565e-05/1.13, allocations: 0.9375 kB / 0.8711 GB, free: 5.41 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.002068/1.132, allocations: 1.232 MB / 0.8723 GB, free: 4.785 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/1.132, allocations: 10.62 kB / 0.8723 GB, free: 4.785 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/1.133, allocations: 210.4 kB / 0.8725 GB, free: 4.734 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/1.134, allocations: 0.6806 MB / 0.8732 GB, free: 4.434 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.196e-05/1.134, allocations: 58.5 kB / 0.8733 GB, free: 4.434 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/1.135, allocations: 76.59 kB / 0.8733 GB, free: 4.434 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/1.136, allocations: 0.9374 MB / 0.8742 GB, free: 4.176 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/1.136, allocations: 1.875 kB / 0.8742 GB, free: 4.176 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.068e-05/1.136, allocations: 31.44 kB / 0.8743 GB, free: 4.176 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.539e-05/1.136, allocations: 35.23 kB / 0.8743 GB, free: 4.176 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/1.137, allocations: 0.6105 MB / 0.8749 GB, free: 4.172 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.004423/1.142, allocations: 4.584 MB / 0.8794 GB, free: 17.03 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007604/1.142, allocations: 0.5385 MB / 0.8799 GB, free: 16.86 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003417/1.143, allocations: 245.2 kB / 0.8801 GB, free: 16.84 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001938/1.143, allocations: 100.8 kB / 0.8802 GB, free: 16.75 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/1.143, allocations: 45.48 kB / 0.8803 GB, free: 16.71 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=43): time 1.924e-06/1.143, allocations: 1.594 kB / 0.8803 GB, free: 16.71 MB / 0.7012 GB Notification: Performance of matching and sorting (n=45): time 0.003156/1.146, allocations: 1.577 MB / 0.8818 GB, free: 16.1 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.191e-05/1.146, allocations: 115.1 kB / 0.8819 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/1.147, allocations: 0.7138 MB / 0.8826 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.003e-05/1.147, allocations: 36.23 kB / 0.8827 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.00032/1.148, allocations: 420.3 kB / 0.8831 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/1.148, allocations: 164.7 kB / 0.8832 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/1.148, allocations: 115.9 kB / 0.8833 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.148, allocations: 329.7 kB / 0.8837 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003555/1.149, allocations: 187.3 kB / 0.8838 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004793/1.149, allocations: 413.8 kB / 0.8842 GB, free: 14.95 MB / 0.7012 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.002152/1.151, allocations: 1.171 MB / 0.8854 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/1.151, allocations: 1.938 kB / 0.8854 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001068/1.152, allocations: 0.6736 MB / 0.886 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/1.152, allocations: 7.75 kB / 0.886 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/1.153, allocations: 6.812 kB / 0.886 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/1.153, allocations: 9.062 kB / 0.886 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004984/1.153, allocations: 131.4 kB / 0.8862 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.281e-05/1.153, allocations: 14.8 kB / 0.8862 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005499/1.154, allocations: 26.98 kB / 0.8862 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.617e-05/1.154, allocations: 26.88 kB / 0.8862 GB, free: 14.54 MB / 0.7012 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.0003981/1.154, allocations: 275.5 kB / 0.8865 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/1.154, allocations: 85.16 kB / 0.8866 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/1.154, allocations: 89.2 kB / 0.8867 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/1.154, allocations: 12.64 kB / 0.8867 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/1.154, allocations: 5.719 kB / 0.8867 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007931/1.155, allocations: 0.6946 MB / 0.8874 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002461/1.158, allocations: 1.64 MB / 0.889 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/1.158, allocations: 8.516 kB / 0.889 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000475/1.158, allocations: 100.2 kB / 0.8891 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/1.158, allocations: 5.438 kB / 0.8891 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.801e-05/1.158, allocations: 15.39 kB / 0.8891 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/1.158, allocations: 10.53 kB / 0.8891 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/1.158, allocations: 10.16 kB / 0.8891 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/1.159, allocations: 0.8902 MB / 0.89 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002858/1.16, allocations: 204.8 kB / 0.8902 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/1.16, allocations: 17.47 kB / 0.8902 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000447/1.16, allocations: 26.56 kB / 0.8902 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.776e-05/1.16, allocations: 35.19 kB / 0.8902 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.013e-05/1.16, allocations: 21.22 kB / 0.8903 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006869/1.161, allocations: 0.5136 MB / 0.8908 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.31e-07/1.161, allocations: 0 / 0.8908 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008376/1.162, allocations: 202.6 kB / 0.891 GB, free: 12.77 MB / 0.7012 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.0005087/1.163, allocations: 199.7 kB / 0.8912 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0008251/1.163, allocations: 488 kB / 0.8916 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.163, allocations: 7.328 kB / 0.8916 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0003074/1.164, allocations: 211.7 kB / 0.8918 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002082/1.166, allocations: 477.6 kB / 0.8923 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/1.168, allocations: 1.639 MB / 0.8939 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006778/1.169, allocations: 1.024 MB / 0.8949 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0006732/1.17, allocations: 199 kB / 0.8951 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/1.17, allocations: 62.8 kB / 0.8951 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of SimCode: time 3.61e-07/1.17, allocations: 1 kB / 0.8951 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of Templates: time 0.02925/1.199, allocations: 15.22 MB / 0.91 GB, free: 10.33 MB / 0.7012 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)