Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009653/0.0009655, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005613/0.005613, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.302/1.302, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7192/0.7192, allocations: 132.3 MB / 423.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003002/0.0003002, allocations: 9.031 kB / 0.5041 GB, free: 3.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3581, allocations: 81.57 MB / 0.5837 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.1765/0.5346, allocations: 172.6 MB / 0.7523 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007251/0.5419, allocations: 4.402 MB / 0.7566 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006084/0.5425, allocations: 23.81 kB / 0.7566 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008908/0.5434, allocations: 302.4 kB / 0.7569 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002596/0.546, allocations: 1.183 MB / 0.758 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.5475, allocations: 0.6315 MB / 0.7587 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002083/0.5496, allocations: 2.21 MB / 0.7608 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005793/0.5502, allocations: 456.9 kB / 0.7613 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009267/0.5511, allocations: 0.5834 MB / 0.7618 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009365/0.5521, allocations: 491.7 kB / 0.7623 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.56e-05/0.5522, allocations: 20 kB / 0.7623 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002132/0.5543, allocations: 1.457 MB / 0.7637 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002079/0.5545, allocations: 199.3 kB / 0.7639 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003857/0.5549, allocations: 332.1 kB / 0.7642 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.5564, allocations: 1.301 MB / 0.7655 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.5564, allocations: 4 kB / 0.7655 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5564, allocations: 0 / 0.7655 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.5564, allocations: 0 / 0.7655 GB, free: 5.645 MB / 0.5919 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.001417/0.5579, allocations: 0.888 MB / 0.7664 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.5579, allocations: 8.031 kB / 0.7664 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001118/0.558, allocations: 86.52 kB / 0.7665 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.5591, allocations: 175 kB / 0.7666 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007218/0.5598, allocations: 0.5206 MB / 0.7671 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.196e-05/0.5599, allocations: 48.92 kB / 0.7672 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.871e-05/0.56, allocations: 40 kB / 0.7672 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007685/0.5607, allocations: 474.3 kB / 0.7677 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.5608, allocations: 0 / 0.7677 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.953e-05/0.5608, allocations: 16 kB / 0.7677 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.775e-05/0.5608, allocations: 20.94 kB / 0.7677 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007685/0.5616, allocations: 427.7 kB / 0.7681 GB, free: 2.867 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.002584/0.5642, allocations: 2.028 MB / 0.7701 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004624/0.5647, allocations: 281.8 kB / 0.7704 GB, free: 388 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003097/0.565, allocations: 197.5 kB / 0.7706 GB, free: 188 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002693/0.5653, allocations: 190.2 kB / 0.7707 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.5653, allocations: 46.44 kB / 0.7708 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=30): time 1.533e-06/0.5653, allocations: 0 / 0.7708 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.001534/0.5669, allocations: 0.6533 MB / 0.7714 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/0.567, allocations: 59.41 kB / 0.7715 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004458/0.5675, allocations: 446 kB / 0.7719 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.5675, allocations: 29.7 kB / 0.7719 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.5677, allocations: 284.1 kB / 0.7722 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.506e-05/0.5678, allocations: 102.5 kB / 0.7723 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/0.5679, allocations: 33.7 kB / 0.7723 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.568, allocations: 362.8 kB / 0.7727 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003314/0.5684, allocations: 127.9 kB / 0.7728 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003202/0.5687, allocations: 211.6 kB / 0.773 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005651/0.5693, allocations: 341.4 kB / 0.7733 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.5693, allocations: 0 / 0.7733 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007028/0.57, allocations: 414.4 kB / 0.7737 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.325e-05/0.5701, allocations: 137.7 kB / 0.7739 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.5701, allocations: 4 kB / 0.7739 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.5701, allocations: 4 kB / 0.7739 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003274/0.5704, allocations: 67.89 kB / 0.7739 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.5705, allocations: 4 kB / 0.7739 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004756/0.5709, allocations: 63.64 kB / 0.774 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.571, allocations: 15.94 kB / 0.774 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.754e-06/0.571, allocations: 6.656 kB / 0.774 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006068/0.5716, allocations: 339.7 kB / 0.7743 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-06/0.5716, allocations: 0 / 0.7743 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.468e-06/0.5716, allocations: 4 kB / 0.7743 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/0.5719, allocations: 71.91 kB / 0.7744 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.5719, allocations: 4.094 kB / 0.7744 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004459/0.5724, allocations: 71.64 kB / 0.7745 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.5724, allocations: 12 kB / 0.7745 GB, free: 11.96 MB / 0.6075 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.0002704/0.5727, allocations: 281 kB / 0.7748 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/0.5728, allocations: 55.38 kB / 0.7748 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008943/0.5737, allocations: 420.7 kB / 0.7752 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.5737, allocations: 11.94 kB / 0.7752 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.5737, allocations: 0 / 0.7752 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006991/0.5744, allocations: 453.4 kB / 0.7757 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.5762, allocations: 1.145 MB / 0.7768 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.5762, allocations: 4 kB / 0.7768 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/0.5765, allocations: 59.91 kB / 0.7768 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002463/0.5767, allocations: 49.05 kB / 0.7769 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/0.5768, allocations: 11.98 kB / 0.7769 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001156/0.5779, allocations: 1.433 MB / 0.7783 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.5779, allocations: 4.031 kB / 0.7783 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.579, allocations: 0.7242 MB / 0.779 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.5792, allocations: 164.5 kB / 0.7792 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.608e-05/0.5793, allocations: 8 kB / 0.7792 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004151/0.5797, allocations: 39.97 kB / 0.7792 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.5798, allocations: 27.91 kB / 0.7792 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.5798, allocations: 15.98 kB / 0.7793 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003128/0.5801, allocations: 314.9 kB / 0.7796 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5801, allocations: 0 / 0.7796 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008148/0.581, allocations: 311.2 kB / 0.7799 GB, free: 6.141 MB / 0.6075 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.001714/0.5827, allocations: 1.357 MB / 0.7812 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009356/0.5836, allocations: 0.4963 MB / 0.7817 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5836, allocations: 0 / 0.7817 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004747/0.5841, allocations: 299.5 kB / 0.782 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/0.5858, allocations: 302.8 kB / 0.7822 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005708/0.5915, allocations: 4.486 MB / 0.7866 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/0.592, allocations: 0.9017 MB / 0.7875 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006093/0.5926, allocations: 164.4 kB / 0.7877 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002483/0.5928, allocations: 187.4 kB / 0.7878 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of SimCode: time 6.81e-07/0.5929, allocations: 0 / 0.7878 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2809/0.8738, allocations: 13.98 MB / 0.8015 GB, free: 116 kB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003887/0.8742, allocations: 276.7 kB / 0.8018 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.331/3.206, allocations: 4.062 kB / 0.8018 GB, free: 15.75 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1)