Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001703/0.001703, allocations: 106.2 kB / 16.36 MB, free: 6.355 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.002099/0.002098, allocations: 195.8 kB / 17.3 MB, free: 5.906 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7687/0.7687, allocations: 132.2 MB / 423.3 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 55.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3703, allocations: 80.19 MB / 0.5815 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1766/0.5469, allocations: 171.1 MB / 0.7485 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3668/0.9138, allocations: 4.28 MB / 0.7527 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.9148, allocations: 20.66 kB / 0.7527 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.916, allocations: 353.2 kB / 0.7531 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003064/0.9191, allocations: 1.22 MB / 0.7543 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002125/0.9212, allocations: 0.7949 MB / 0.755 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002043/0.9233, allocations: 1.688 MB / 0.7567 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000781/0.9241, allocations: 0.5579 MB / 0.7572 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.9252, allocations: 0.6907 MB / 0.7579 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001229/0.9264, allocations: 0.5487 MB / 0.7584 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.9266, allocations: 66.44 kB / 0.7585 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001931/0.9285, allocations: 0.7989 MB / 0.7593 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004279/0.929, allocations: 273.1 kB / 0.7595 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006574/0.9296, allocations: 403.5 kB / 0.7599 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002425/0.9321, allocations: 1.271 MB / 0.7612 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.956e-06/0.9321, allocations: 5.266 kB / 0.7612 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9321, allocations: 0 / 0.7612 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.343e-05/0.9321, allocations: 1.531 kB / 0.7612 GB, free: 1.602 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.002383/0.9345, allocations: 1.03 MB / 0.7622 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.9346, allocations: 9.312 kB / 0.7622 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.9357, allocations: 164.7 kB / 0.7623 GB, free: 16.97 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.9368, allocations: 0.5394 MB / 0.7629 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.306e-05/0.9369, allocations: 43.23 kB / 0.7629 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.792e-05/0.937, allocations: 57.16 kB / 0.763 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009973/0.938, allocations: 0.6507 MB / 0.7636 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.938, allocations: 3.984 kB / 0.7636 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.268e-05/0.938, allocations: 23.12 kB / 0.7636 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.949e-05/0.9381, allocations: 26.62 kB / 0.7637 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007773/0.9389, allocations: 0.5141 MB / 0.7642 GB, free: 16.62 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.003392/0.9423, allocations: 2.29 MB / 0.7664 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005354/0.9428, allocations: 258.5 kB / 0.7666 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002518/0.9431, allocations: 134.9 kB / 0.7668 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.372e-05/0.9431, allocations: 13.22 kB / 0.7668 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.9432, allocations: 38.88 kB / 0.7668 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.9432, allocations: 0 / 0.7668 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20): time 0.001613/0.9448, allocations: 0.6708 MB / 0.7675 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.9449, allocations: 83.64 kB / 0.7676 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006107/0.9455, allocations: 0.5572 MB / 0.7681 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.015e-05/0.9455, allocations: 32.17 kB / 0.7681 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.9457, allocations: 332 kB / 0.7684 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.849e-05/0.9458, allocations: 73.69 kB / 0.7685 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.9459, allocations: 71.22 kB / 0.7686 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.9461, allocations: 366 kB / 0.7689 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002647/0.9464, allocations: 128.7 kB / 0.7691 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/0.9467, allocations: 224.4 kB / 0.7693 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005121/0.9472, allocations: 334.5 kB / 0.7696 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.9472, allocations: 1.219 kB / 0.7696 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009179/0.9481, allocations: 0.4885 MB / 0.7701 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.9482, allocations: 7.406 kB / 0.7701 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.9482, allocations: 6.844 kB / 0.7701 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003344/0.9485, allocations: 102.7 kB / 0.7702 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003276/0.9489, allocations: 66.73 kB / 0.7702 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003221/0.9521, allocations: 3.35 MB / 0.7735 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000538/0.9526, allocations: 54.88 kB / 0.7736 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.9527, allocations: 15.27 kB / 0.7736 GB, free: 11.41 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.0002608/0.953, allocations: 216.7 kB / 0.7738 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.9531, allocations: 56.06 kB / 0.7738 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.866e-05/0.9532, allocations: 55.12 kB / 0.7739 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.9532, allocations: 7.156 kB / 0.7739 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.9532, allocations: 5.969 kB / 0.7739 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006606/0.9538, allocations: 0.5335 MB / 0.7744 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.955, allocations: 0.9156 MB / 0.7753 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.955, allocations: 4.25 kB / 0.7753 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.9552, allocations: 39.62 kB / 0.7754 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001835/0.9554, allocations: 67.39 kB / 0.7754 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.9555, allocations: 6.156 kB / 0.7754 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/0.957, allocations: 1.819 MB / 0.7772 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.957, allocations: 1.391 kB / 0.7772 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005771/0.9576, allocations: 435.6 kB / 0.7776 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002428/0.9578, allocations: 169.1 kB / 0.7778 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.221e-05/0.9579, allocations: 11.56 kB / 0.7778 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000418/0.9583, allocations: 30.22 kB / 0.7778 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.932e-05/0.9584, allocations: 18.8 kB / 0.7778 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.426e-05/0.9584, allocations: 16.17 kB / 0.7779 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003928/0.9588, allocations: 398.5 kB / 0.7782 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9589, allocations: 0.75 kB / 0.7782 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006535/0.9595, allocations: 199.7 kB / 0.7784 GB, free: 8.785 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.0003557/0.9599, allocations: 158.4 kB / 0.7786 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008047/0.9607, allocations: 0.5269 MB / 0.7791 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.9607, allocations: 7.031 kB / 0.7791 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003165/0.961, allocations: 256.1 kB / 0.7793 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.9625, allocations: 375.8 kB / 0.7797 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.9639, allocations: 0.9764 MB / 0.7807 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/0.9644, allocations: 0.9118 MB / 0.7815 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003485/0.9647, allocations: 106.3 kB / 0.7816 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.265e-05/0.9648, allocations: 39.38 kB / 0.7817 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of SimCode: time 5.81e-07/0.9648, allocations: 0 / 0.7817 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of Templates: time 0.01906/0.9839, allocations: 13.03 MB / 0.7944 GB, free: 6.18 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)