Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 111.5 kB / 16.37 MB, free: 6.004 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.001723/0.001723, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7904/0.7904, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.89 kB / 0.5032 GB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3502, allocations: 80.18 MB / 0.5815 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.5163/0.8666, allocations: 190.3 MB / 0.7673 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01006/0.8767, allocations: 5.679 MB / 0.7729 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001591/0.8783, allocations: 41.7 kB / 0.7729 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.8798, allocations: 0.5685 MB / 0.7735 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003926/0.8837, allocations: 1.595 MB / 0.775 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003286/0.887, allocations: 1.208 MB / 0.7762 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003743/0.8908, allocations: 2.506 MB / 0.7787 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001654/0.8924, allocations: 0.9957 MB / 0.7796 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00211/0.8946, allocations: 1.027 MB / 0.7806 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001685/0.8963, allocations: 0.8161 MB / 0.7814 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.8964, allocations: 98.47 kB / 0.7815 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002729/0.8992, allocations: 1.524 MB / 0.783 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004101/0.8996, allocations: 497.5 kB / 0.7835 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006471/0.9002, allocations: 0.6206 MB / 0.7841 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002319/0.9026, allocations: 2.116 MB / 0.7862 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.9026, allocations: 3.188 kB / 0.7862 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9026, allocations: 0 / 0.7862 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.385e-05/0.9026, allocations: 0.8438 kB / 0.7862 GB, free: 1.258 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001991/0.9046, allocations: 1.471 MB / 0.7876 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.9046, allocations: 10.12 kB / 0.7876 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001806/0.9065, allocations: 331.5 kB / 0.7879 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.9077, allocations: 0.8116 MB / 0.7887 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.869e-05/0.9078, allocations: 64.44 kB / 0.7888 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.9079, allocations: 86.25 kB / 0.7889 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.9094, allocations: 1.072 MB / 0.7899 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.9094, allocations: 3.438 kB / 0.7899 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.978e-05/0.9095, allocations: 37.94 kB / 0.79 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.724e-05/0.9096, allocations: 37.27 kB / 0.79 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.9108, allocations: 0.8248 MB / 0.7908 GB, free: 15.93 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.004764/0.9156, allocations: 4.253 MB / 0.795 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004978/0.9161, allocations: 378.7 kB / 0.7953 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/0.9164, allocations: 214.3 kB / 0.7955 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001808/0.9165, allocations: 101.9 kB / 0.7956 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.9166, allocations: 42.61 kB / 0.7957 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 2.014e-06/0.9166, allocations: 0.7812 kB / 0.7957 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=38): time 0.002145/0.9187, allocations: 1.33 MB / 0.797 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.9188, allocations: 61.69 kB / 0.797 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.9199, allocations: 1.001 MB / 0.798 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.363e-05/0.9199, allocations: 37.42 kB / 0.798 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000294/0.9203, allocations: 0.4917 MB / 0.7985 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.9204, allocations: 143.8 kB / 0.7986 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.9206, allocations: 119.8 kB / 0.7988 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.9207, allocations: 339.7 kB / 0.7991 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003981/0.9211, allocations: 232.8 kB / 0.7993 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005253/0.9216, allocations: 440.3 kB / 0.7997 GB, free: 11.98 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002135/0.9238, allocations: 1.212 MB / 0.8009 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.9238, allocations: 0 / 0.8009 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001206/0.925, allocations: 0.7643 MB / 0.8017 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.925, allocations: 5.844 kB / 0.8017 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.925, allocations: 8.109 kB / 0.8017 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.925, allocations: 13.28 kB / 0.8017 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005265/0.9256, allocations: 145.3 kB / 0.8018 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/0.9256, allocations: 11.45 kB / 0.8018 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008007/0.9264, allocations: 62.3 kB / 0.8019 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.773e-05/0.9265, allocations: 28.94 kB / 0.8019 GB, free: 11.58 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (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.0003571/0.9268, allocations: 315.9 kB / 0.8022 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.927, allocations: 100.1 kB / 0.8023 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001523/0.9271, allocations: 98.69 kB / 0.8024 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.9272, allocations: 9.938 kB / 0.8024 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.9272, allocations: 0 / 0.8024 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005628/0.9277, allocations: 0.6814 MB / 0.8031 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002096/0.9298, allocations: 1.575 MB / 0.8046 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.9299, allocations: 6.594 kB / 0.8046 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003655/0.9302, allocations: 86.69 kB / 0.8047 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.9302, allocations: 4.719 kB / 0.8047 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.9303, allocations: 15.98 kB / 0.8047 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.9303, allocations: 8.094 kB / 0.8047 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/0.9303, allocations: 12.2 kB / 0.8048 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000997/0.9313, allocations: 0.8512 MB / 0.8056 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003855/0.9317, allocations: 240.8 kB / 0.8058 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.9318, allocations: 13.22 kB / 0.8058 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006525/0.9325, allocations: 49.75 kB / 0.8059 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/0.9326, allocations: 33.8 kB / 0.8059 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.055e-05/0.9326, allocations: 31.55 kB / 0.8059 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008348/0.9335, allocations: 0.707 MB / 0.8066 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9335, allocations: 0.7188 kB / 0.8066 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007175/0.9342, allocations: 257.7 kB / 0.8069 GB, free: 9.914 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * 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.0004289/0.9346, allocations: 208.9 kB / 0.8071 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007892/0.9354, allocations: 0.5022 MB / 0.8076 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.9354, allocations: 0.7188 kB / 0.8076 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.9357, allocations: 189.3 kB / 0.8077 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002268/0.9379, allocations: 0.6173 MB / 0.8083 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.9403, allocations: 1.823 MB / 0.8101 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005894/0.9409, allocations: 1.101 MB / 0.8112 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007097/0.9416, allocations: 244.9 kB / 0.8114 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.9418, allocations: 74.39 kB / 0.8115 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.9418, allocations: 0 / 0.8115 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of Templates: time 0.03278/0.9746, allocations: 19.82 MB / 0.8309 GB, free: 11.6 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)