Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001641/0.001641, allocations: 197.2 kB / 16.25 MB, free: 6.625 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.417/1.417, allocations: 222.9 MB / 239.9 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9296/0.9296, allocations: 135.1 MB / 425.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 61.44 kB / 0.5049 GB, free: 5.621 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2019, allocations: 80.93 MB / 0.5839 GB, free: 4.855 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.5002/0.7022, allocations: 174.8 MB / 0.7545 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007608/0.7098, allocations: 4.376 MB / 0.7588 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.7112, allocations: 27.88 kB / 0.7588 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.7128, allocations: 314.3 kB / 0.7591 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003868/0.7167, allocations: 1.175 MB / 0.7603 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001986/0.7187, allocations: 0.6207 MB / 0.7609 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002283/0.721, allocations: 1.627 MB / 0.7625 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007698/0.7218, allocations: 0.5089 MB / 0.763 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001405/0.7232, allocations: 0.681 MB / 0.7636 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001689/0.7249, allocations: 0.5162 MB / 0.7641 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.7251, allocations: 52 kB / 0.7642 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003482/0.7286, allocations: 1.348 MB / 0.7655 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003096/0.7289, allocations: 235.3 kB / 0.7657 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004566/0.7294, allocations: 350.3 kB / 0.7661 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002121/0.7315, allocations: 1.34 MB / 0.7674 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.7315, allocations: 4 kB / 0.7674 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7315, allocations: 0 / 0.7674 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.7316, allocations: 0 / 0.7674 GB, free: 1.395 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001647/0.7332, allocations: 1.008 MB / 0.7684 GB, free: 344 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.7333, allocations: 8.031 kB / 0.7684 GB, free: 336 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.7344, allocations: 171.1 kB / 0.7685 GB, free: 164 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00082/0.7352, allocations: 0.5322 MB / 0.7691 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.7352, allocations: 33 kB / 0.7691 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.415e-05/0.7353, allocations: 47.91 kB / 0.7691 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008511/0.7362, allocations: 466.3 kB / 0.7696 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.7362, allocations: 0 / 0.7696 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.919e-05/0.7363, allocations: 20 kB / 0.7696 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-05/0.7363, allocations: 20.94 kB / 0.7696 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007699/0.7371, allocations: 411.7 kB / 0.77 GB, free: 14.61 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.002765/0.7398, allocations: 2.028 MB / 0.772 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000529/0.7404, allocations: 270.5 kB / 0.7723 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003259/0.7407, allocations: 187.3 kB / 0.7724 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003289/0.7411, allocations: 194.2 kB / 0.7726 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/0.7411, allocations: 34.56 kB / 0.7727 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=30): time 2.014e-06/0.7411, allocations: 0 / 0.7727 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30): time 0.001654/0.7428, allocations: 0.642 MB / 0.7733 GB, free: 11 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.7428, allocations: 51.41 kB / 0.7733 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005784/0.7434, allocations: 449.9 kB / 0.7738 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/0.7435, allocations: 45.64 kB / 0.7738 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.7437, allocations: 280.2 kB / 0.7741 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.682e-05/0.7438, allocations: 98.55 kB / 0.7742 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.7439, allocations: 65.61 kB / 0.7742 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.744, allocations: 358.8 kB / 0.7746 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.7443, allocations: 132.8 kB / 0.7747 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/0.7447, allocations: 214.1 kB / 0.7749 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005436/0.7452, allocations: 334.5 kB / 0.7752 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.7452, allocations: 0 / 0.7752 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006956/0.7459, allocations: 404.8 kB / 0.7756 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.746, allocations: 8.156 kB / 0.7756 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.746, allocations: 0 / 0.7756 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.746, allocations: 7.984 kB / 0.7756 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003533/0.7463, allocations: 70.22 kB / 0.7757 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.7464, allocations: 7.938 kB / 0.7757 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005221/0.7469, allocations: 55.66 kB / 0.7757 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-05/0.7469, allocations: 15.98 kB / 0.7758 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004964/0.7475, allocations: 288 kB / 0.776 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003102/0.7478, allocations: 209 kB / 0.7762 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005266/0.7483, allocations: 333.1 kB / 0.7766 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.272e-06/0.7483, allocations: 4 kB / 0.7766 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0006824/0.749, allocations: 396.8 kB / 0.7769 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.749, allocations: 10.34 kB / 0.7769 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-06/0.749, allocations: 0 / 0.7769 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.368e-06/0.7491, allocations: 4 kB / 0.7769 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/0.7493, allocations: 67.91 kB / 0.777 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.7494, allocations: 8.156 kB / 0.777 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004586/0.7498, allocations: 43.8 kB / 0.7771 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.305e-05/0.7499, allocations: 16 kB / 0.7771 GB, free: 6.953 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (37): * Single equations (assignments): 37 * 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.0001632/0.75, allocations: 200.1 kB / 0.7773 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.502e-05/0.7501, allocations: 59.28 kB / 0.7773 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008602/0.751, allocations: 416.6 kB / 0.7777 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.751, allocations: 4 kB / 0.7777 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.751, allocations: 0 / 0.7777 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000734/0.7518, allocations: 449.3 kB / 0.7782 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001852/0.7536, allocations: 1.129 MB / 0.7793 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.7537, allocations: 3.562 kB / 0.7793 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003054/0.754, allocations: 63.91 kB / 0.7793 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002318/0.7542, allocations: 45.05 kB / 0.7794 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.7542, allocations: 11.98 kB / 0.7794 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001371/0.7556, allocations: 1.543 MB / 0.7809 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.7556, allocations: 7.969 kB / 0.7809 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.7568, allocations: 0.706 MB / 0.7816 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000195/0.757, allocations: 164.4 kB / 0.7817 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.234e-05/0.757, allocations: 16.05 kB / 0.7818 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004237/0.7575, allocations: 32.59 kB / 0.7818 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.895e-05/0.7575, allocations: 31.91 kB / 0.7818 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.7576, allocations: 12 kB / 0.7818 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003571/0.7579, allocations: 314.9 kB / 0.7821 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7579, allocations: 4 kB / 0.7821 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009147/0.7589, allocations: 303.2 kB / 0.7824 GB, free: 1.156 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000491/0.7594, allocations: 180.8 kB / 0.7826 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.7604, allocations: 0.5123 MB / 0.7831 GB, free: 480 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.7604, allocations: 0 / 0.7831 GB, free: 480 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005121/0.7609, allocations: 286.5 kB / 0.7834 GB, free: 180 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.7624, allocations: 313.5 kB / 0.7837 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.7643, allocations: 1.288 MB / 0.7849 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005231/0.7648, allocations: 0.8975 MB / 0.7858 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005427/0.7654, allocations: 165.4 kB / 0.786 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.7655, allocations: 43.42 kB / 0.786 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of SimCode: time 5.51e-07/0.7655, allocations: 0 / 0.786 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of Templates: time 0.01807/0.7836, allocations: 10.15 MB / 0.7959 GB, free: 3.461 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1)