Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008341/0.008341, allocations: 100.9 kB / 15.87 MB, free: 5.871 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.001585/0.001585, allocations: 189.6 kB / 16.79 MB, free: 5.816 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.492/1.492, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.923/0.923, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 64.47 kB / 0.5053 GB, free: 5.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1817, allocations: 80.93 MB / 0.5843 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5643/0.7461, allocations: 168.8 MB / 0.7492 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007436/0.7535, allocations: 4.35 MB / 0.7534 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.7546, allocations: 18.53 kB / 0.7534 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.7559, allocations: 316.2 kB / 0.7537 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003177/0.7591, allocations: 1.133 MB / 0.7548 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002082/0.7611, allocations: 0.7275 MB / 0.7556 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002597/0.7638, allocations: 2.358 MB / 0.7579 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007379/0.7645, allocations: 496.7 kB / 0.7583 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.7657, allocations: 0.5913 MB / 0.7589 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/0.767, allocations: 0.5681 MB / 0.7595 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.7671, allocations: 32 kB / 0.7595 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001899/0.769, allocations: 0.9156 MB / 0.7604 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002843/0.7693, allocations: 239.3 kB / 0.7606 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004603/0.7698, allocations: 374.2 kB / 0.761 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.7709, allocations: 0.9589 MB / 0.7619 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.7709, allocations: 0 / 0.7619 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.52e-07/0.771, allocations: 0 / 0.7619 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.771, allocations: 0 / 0.7619 GB, free: 7.633 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001812/0.7728, allocations: 1.029 MB / 0.7629 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.7728, allocations: 8.031 kB / 0.7629 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009894/0.7738, allocations: 159 kB / 0.7631 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007557/0.7746, allocations: 0.5333 MB / 0.7636 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.434e-05/0.7746, allocations: 41.25 kB / 0.7636 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.348e-05/0.7747, allocations: 52 kB / 0.7637 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.7759, allocations: 0.6479 MB / 0.7643 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.7759, allocations: 0 / 0.7643 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.897e-05/0.776, allocations: 24 kB / 0.7643 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.454e-05/0.776, allocations: 33.25 kB / 0.7644 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009031/0.7769, allocations: 0.5087 MB / 0.7649 GB, free: 4.504 MB / 0.5762 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.003313/0.7802, allocations: 2.308 MB / 0.7671 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000508/0.7807, allocations: 262.7 kB / 0.7674 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.781, allocations: 128.8 kB / 0.7675 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.781, allocations: 4 kB / 0.7675 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.7811, allocations: 42.56 kB / 0.7675 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=20): time 2.014e-06/0.7811, allocations: 0 / 0.7675 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20): time 0.001677/0.7828, allocations: 0.6747 MB / 0.7682 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.7828, allocations: 81.11 kB / 0.7683 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006335/0.7835, allocations: 0.5574 MB / 0.7688 GB, free: 192 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/0.7835, allocations: 37.64 kB / 0.7689 GB, free: 148 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.7838, allocations: 327.5 kB / 0.7692 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.58e-05/0.7839, allocations: 78.91 kB / 0.7692 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.784, allocations: 69.94 kB / 0.7693 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.7841, allocations: 362.7 kB / 0.7697 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/0.7844, allocations: 128.6 kB / 0.7698 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/0.7847, allocations: 223.5 kB / 0.77 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005194/0.7852, allocations: 341.9 kB / 0.7703 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.7853, allocations: 0 / 0.7703 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009018/0.7862, allocations: 0.4948 MB / 0.7708 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.7862, allocations: 8 kB / 0.7708 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.7862, allocations: 0 / 0.7708 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003211/0.7865, allocations: 93.64 kB / 0.7709 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/0.7869, allocations: 71.91 kB / 0.771 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002938/0.7898, allocations: 3.1 MB / 0.774 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005889/0.7904, allocations: 72.23 kB / 0.7741 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.7905, allocations: 8 kB / 0.7741 GB, free: 10.43 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003207/0.7908, allocations: 226.3 kB / 0.7743 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.7909, allocations: 55.44 kB / 0.7743 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.227e-05/0.791, allocations: 52.52 kB / 0.7744 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.791, allocations: 0 / 0.7744 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.791, allocations: 7.984 kB / 0.7744 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007098/0.7917, allocations: 0.5266 MB / 0.7749 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.793, allocations: 0.9143 MB / 0.7758 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.793, allocations: 4.188 kB / 0.7758 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.7933, allocations: 43.92 kB / 0.7758 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002112/0.7935, allocations: 76.8 kB / 0.7759 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.7935, allocations: 0 / 0.7759 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/0.7951, allocations: 1.69 MB / 0.7776 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.7951, allocations: 0 / 0.7776 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006373/0.7958, allocations: 435.9 kB / 0.778 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002298/0.796, allocations: 168.4 kB / 0.7781 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.946e-05/0.7961, allocations: 11.98 kB / 0.7782 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004752/0.7966, allocations: 24.17 kB / 0.7782 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.333e-05/0.7967, allocations: 19.97 kB / 0.7782 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/0.7967, allocations: 15.98 kB / 0.7782 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004568/0.7972, allocations: 406.8 kB / 0.7786 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7972, allocations: 0 / 0.7786 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007113/0.7979, allocations: 215.5 kB / 0.7788 GB, free: 5.258 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (15): * Single equations (assignments): 14 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003912/0.7983, allocations: 162.4 kB / 0.779 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009003/0.7992, allocations: 0.5343 MB / 0.7795 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.7992, allocations: 4 kB / 0.7795 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003438/0.7996, allocations: 246.6 kB / 0.7797 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/0.8012, allocations: 360.7 kB / 0.7801 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.8029, allocations: 1.246 MB / 0.7813 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/0.8033, allocations: 0.9092 MB / 0.7822 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.8035, allocations: 39.44 kB / 0.7822 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of SimCode: time 6.01e-07/0.8035, allocations: 0 / 0.7822 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of Templates: time 0.01715/0.8206, allocations: 13.42 MB / 0.7953 GB, free: 4.398 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)