Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 106.8 kB / 16.37 MB, free: 6.477 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.001067/0.001067, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8131/0.8131, allocations: 132.2 MB / 423.4 MB, free: 6.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 59.84 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.415, allocations: 80.18 MB / 0.5815 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1861/0.6011, allocations: 171 MB / 0.7485 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4137/1.015, allocations: 4.267 MB / 0.7526 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/1.016, allocations: 21.19 kB / 0.7527 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001427/1.017, allocations: 350.1 kB / 0.753 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003303/1.021, allocations: 0.9937 MB / 0.754 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002724/1.024, allocations: 0.8156 MB / 0.7548 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002198/1.026, allocations: 1.286 MB / 0.756 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008058/1.027, allocations: 495.3 kB / 0.7565 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001627/1.028, allocations: 0.6668 MB / 0.7571 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001338/1.03, allocations: 459.8 kB / 0.7576 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002081/1.03, allocations: 52.06 kB / 0.7576 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002184/1.032, allocations: 0.909 MB / 0.7585 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000388/1.032, allocations: 218 kB / 0.7587 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000655/1.033, allocations: 328.8 kB / 0.759 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002198/1.035, allocations: 1.136 MB / 0.7601 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.035, allocations: 0 / 0.7601 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.744e-06/1.035, allocations: 0.9062 kB / 0.7601 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.218e-05/1.035, allocations: 0.9062 kB / 0.7601 GB, free: 1.621 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001806/1.037, allocations: 0.9533 MB / 0.7611 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/1.037, allocations: 10.12 kB / 0.7611 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/1.039, allocations: 262.3 kB / 0.7613 GB, free: 17 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009976/1.04, allocations: 0.4929 MB / 0.7618 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.051e-05/1.04, allocations: 32.25 kB / 0.7618 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.385e-05/1.04, allocations: 37.97 kB / 0.7619 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/1.041, allocations: 0.6234 MB / 0.7625 GB, free: 16.67 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/1.042, allocations: 0.75 kB / 0.7625 GB, free: 16.67 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.187e-05/1.042, allocations: 19.44 kB / 0.7625 GB, free: 16.67 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.195e-05/1.042, allocations: 17.75 kB / 0.7625 GB, free: 16.67 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/1.043, allocations: 0.5479 MB / 0.7631 GB, free: 16.66 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.003935/1.047, allocations: 2.256 MB / 0.7653 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009076/1.048, allocations: 280.1 kB / 0.7655 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005265/1.048, allocations: 172 kB / 0.7657 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/1.048, allocations: 8.125 kB / 0.7657 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/1.048, allocations: 36.84 kB / 0.7657 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=11): time 1.824e-06/1.048, allocations: 1.75 kB / 0.7657 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.004923/1.053, allocations: 1.087 MB / 0.7668 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/1.053, allocations: 87.05 kB / 0.7669 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007414/1.054, allocations: 0.5521 MB / 0.7674 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.132e-05/1.054, allocations: 26.73 kB / 0.7674 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/1.054, allocations: 307.9 kB / 0.7677 GB, free: 15 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/1.054, allocations: 39.39 kB / 0.7678 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/1.055, allocations: 62.8 kB / 0.7678 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001467/1.055, allocations: 356.4 kB / 0.7682 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005741/1.055, allocations: 188.2 kB / 0.7684 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006015/1.056, allocations: 281.6 kB / 0.7686 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/1.057, allocations: 403.3 kB / 0.769 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/1.057, allocations: 2.625 kB / 0.769 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002527/1.06, allocations: 0.7279 MB / 0.7697 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/1.06, allocations: 6.594 kB / 0.7697 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.06, allocations: 2.875 kB / 0.7697 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000691/1.06, allocations: 190.2 kB / 0.7699 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/1.061, allocations: 69.58 kB / 0.77 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003945/1.065, allocations: 2.24 MB / 0.7722 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007761/1.065, allocations: 74.56 kB / 0.7722 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/1.065, allocations: 10.64 kB / 0.7723 GB, free: 12.98 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 (26): * Single equations (assignments): 25 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003979/1.066, allocations: 191.8 kB / 0.7724 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/1.066, allocations: 47.22 kB / 0.7725 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.42e-05/1.066, allocations: 52.28 kB / 0.7725 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/1.066, allocations: 3.031 kB / 0.7725 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/1.066, allocations: 0 / 0.7725 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/1.066, allocations: 4.938 kB / 0.7725 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00289/1.069, allocations: 1.135 MB / 0.7736 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.069, allocations: 0 / 0.7736 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/1.069, allocations: 37.41 kB / 0.7737 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004747/1.07, allocations: 182.4 kB / 0.7739 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/1.07, allocations: 6.312 kB / 0.7739 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003344/1.073, allocations: 2.188 MB / 0.776 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.073, allocations: 6.031 kB / 0.776 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/1.075, allocations: 0.7007 MB / 0.7767 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002904/1.076, allocations: 172.2 kB / 0.7769 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.071e-05/1.076, allocations: 4.844 kB / 0.7769 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005509/1.076, allocations: 54.64 kB / 0.7769 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/1.076, allocations: 11.83 kB / 0.7769 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.332e-05/1.076, allocations: 14.86 kB / 0.7769 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003975/1.077, allocations: 399.3 kB / 0.7773 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.62e-07/1.077, allocations: 0 / 0.7773 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006804/1.078, allocations: 182.5 kB / 0.7775 GB, free: 10.72 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 (7): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004157/1.078, allocations: 170.4 kB / 0.7777 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001428/1.079, allocations: 0.5276 MB / 0.7782 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.079, allocations: 0 / 0.7782 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000624/1.08, allocations: 299.5 kB / 0.7785 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/1.081, allocations: 302.6 kB / 0.7787 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002974/1.084, allocations: 1.062 MB / 0.7798 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/1.085, allocations: 0.8572 MB / 0.7806 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003836/1.085, allocations: 109 kB / 0.7807 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/1.085, allocations: 39.47 kB / 0.7808 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of SimCode: time 5.31e-07/1.085, allocations: 0 / 0.7808 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of Templates: time 0.01977/1.105, allocations: 12.41 MB / 0.7929 GB, free: 7.582 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)