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.0008533/0.0008533, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.000917/0.0009171, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9835/0.9835, allocations: 135.3 MB / 426.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003627, allocations: 11.98 kB / 0.507 GB, free: 5.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1725, allocations: 82.3 MB / 0.5874 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5028/0.6753, allocations: 155.4 MB / 0.7391 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006863/0.6822, allocations: 4.034 MB / 0.7431 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008333/0.6831, allocations: 18.88 kB / 0.7431 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008283/0.6839, allocations: 234.7 kB / 0.7433 GB, free: 10.01 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002618/0.6866, allocations: 0.8988 MB / 0.7442 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.6885, allocations: 0.5668 MB / 0.7447 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002815/0.6913, allocations: 1.988 MB / 0.7467 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000712/0.6921, allocations: 425.6 kB / 0.7471 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/0.6933, allocations: 0.5753 MB / 0.7476 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008464/0.6942, allocations: 0.5347 MB / 0.7482 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.787e-05/0.6943, allocations: 25.59 kB / 0.7482 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.6955, allocations: 412.1 kB / 0.7486 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002381/0.6957, allocations: 223.5 kB / 0.7488 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002049/0.696, allocations: 169.7 kB / 0.749 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.697, allocations: 0.886 MB / 0.7498 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.697, allocations: 0 / 0.7498 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.943e-06/0.697, allocations: 0 / 0.7498 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.6971, allocations: 0 / 0.7498 GB, free: 6.445 MB / 0.5606 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.001691/0.6987, allocations: 0.9204 MB / 0.7507 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.6988, allocations: 10.47 kB / 0.7507 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009885/0.6998, allocations: 165.3 kB / 0.7509 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009011/0.7007, allocations: 0.5019 MB / 0.7514 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.91e-05/0.7008, allocations: 41.31 kB / 0.7514 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.7009, allocations: 55.98 kB / 0.7515 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.7022, allocations: 0.6518 MB / 0.7521 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.7022, allocations: 0 / 0.7521 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6e-05/0.7023, allocations: 20 kB / 0.7521 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-05/0.7023, allocations: 37.28 kB / 0.7522 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009366/0.7032, allocations: 0.5126 MB / 0.7527 GB, free: 3.684 MB / 0.5606 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.003623/0.7069, allocations: 2.305 MB / 0.7549 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006058/0.7075, allocations: 260.7 kB / 0.7552 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.7078, allocations: 137.1 kB / 0.7553 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.125e-05/0.7078, allocations: 11.94 kB / 0.7553 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.7079, allocations: 38.56 kB / 0.7553 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=20): time 2.324e-06/0.7079, allocations: 0 / 0.7553 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20): time 0.001844/0.7097, allocations: 0.688 MB / 0.756 GB, free: 12 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.263e-05/0.7099, allocations: 88.98 kB / 0.7561 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007004/0.7106, allocations: 0.5497 MB / 0.7566 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.7106, allocations: 29.7 kB / 0.7567 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002961/0.7109, allocations: 335.3 kB / 0.757 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.79e-05/0.711, allocations: 67.09 kB / 0.757 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.977e-05/0.711, allocations: 8 kB / 0.7571 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.7112, allocations: 362.7 kB / 0.7574 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.7114, allocations: 136.6 kB / 0.7575 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003081/0.7118, allocations: 223.5 kB / 0.7577 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.7121, allocations: 172.4 kB / 0.7579 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.7121, allocations: 0 / 0.7579 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009132/0.713, allocations: 0.5074 MB / 0.7584 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.713, allocations: 8 kB / 0.7584 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/0.713, allocations: 0 / 0.7584 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003689/0.7134, allocations: 97.66 kB / 0.7585 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003201/0.7137, allocations: 75.84 kB / 0.7586 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003007/0.7168, allocations: 3.108 MB / 0.7616 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006099/0.7174, allocations: 66.23 kB / 0.7617 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.7174, allocations: 12.06 kB / 0.7617 GB, free: 9.836 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003478/0.7178, allocations: 221.7 kB / 0.7619 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.792e-05/0.7179, allocations: 51.44 kB / 0.7619 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.718, allocations: 60.45 kB / 0.762 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.718, allocations: 4 kB / 0.762 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.718, allocations: 0 / 0.762 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007375/0.7188, allocations: 0.5384 MB / 0.7625 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.7201, allocations: 0.9221 MB / 0.7634 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.7201, allocations: 0 / 0.7634 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.7203, allocations: 47.91 kB / 0.7635 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001984/0.7205, allocations: 68.88 kB / 0.7635 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.7206, allocations: 3.984 kB / 0.7636 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001647/0.7222, allocations: 1.692 MB / 0.7652 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.7222, allocations: 3.938 kB / 0.7652 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006725/0.7229, allocations: 459.6 kB / 0.7656 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002545/0.7232, allocations: 168.3 kB / 0.7658 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.819e-05/0.7232, allocations: 4 kB / 0.7658 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000431/0.7237, allocations: 35.97 kB / 0.7658 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.605e-05/0.7238, allocations: 19.97 kB / 0.7659 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.407e-05/0.7238, allocations: 15.98 kB / 0.7659 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004646/0.7243, allocations: 390.8 kB / 0.7663 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7243, allocations: 0 / 0.7663 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007163/0.725, allocations: 207.6 kB / 0.7665 GB, free: 4.637 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004014/0.7254, allocations: 162.6 kB / 0.7666 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009159/0.7264, allocations: 0.5347 MB / 0.7671 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.7264, allocations: 0 / 0.7671 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003766/0.7268, allocations: 262.5 kB / 0.7674 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/0.7284, allocations: 358.7 kB / 0.7677 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.7302, allocations: 1.193 MB / 0.7689 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005133/0.7307, allocations: 0.9132 MB / 0.7698 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004684/0.7312, allocations: 113.7 kB / 0.7699 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.7313, allocations: 43.38 kB / 0.7699 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/0.7313, allocations: 0 / 0.7699 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of Templates: time 0.02123/0.7525, allocations: 11.95 MB / 0.7816 GB, free: 5.246 MB / 0.5919 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)