Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001114/0.001114, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001101/0.001101, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.38/1.38, allocations: 222.9 MB / 240.6 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.941/0.941, allocations: 135.1 MB / 425.9 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 60.94 kB / 0.5055 GB, free: 5.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1802, allocations: 80.93 MB / 0.5845 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5137/0.6939, allocations: 168.7 MB / 0.7492 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007352/0.7013, allocations: 4.26 MB / 0.7534 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.7025, allocations: 19.16 kB / 0.7534 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.7039, allocations: 313.7 kB / 0.7537 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003122/0.7071, allocations: 0.9271 MB / 0.7546 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002348/0.7094, allocations: 0.7449 MB / 0.7554 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001956/0.7114, allocations: 1.292 MB / 0.7566 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009016/0.7123, allocations: 471.2 kB / 0.7571 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001678/0.714, allocations: 0.6733 MB / 0.7577 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.7155, allocations: 485 kB / 0.7582 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001855/0.7157, allocations: 52 kB / 0.7582 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0021/0.7178, allocations: 0.9353 MB / 0.7592 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000363/0.7181, allocations: 215.3 kB / 0.7594 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006798/0.7188, allocations: 334.6 kB / 0.7597 GB, free: 10 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.7203, allocations: 0.8498 MB / 0.7605 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.7204, allocations: 0 / 0.7605 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7204, allocations: 0 / 0.7605 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.754e-05/0.7204, allocations: 4 kB / 0.7605 GB, free: 9.148 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.001882/0.7223, allocations: 0.9503 MB / 0.7614 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.7223, allocations: 8.031 kB / 0.7614 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001657/0.724, allocations: 259.1 kB / 0.7617 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008617/0.7249, allocations: 493.3 kB / 0.7622 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003148/0.7252, allocations: 84.94 kB / 0.7622 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-05/0.7253, allocations: 40 kB / 0.7623 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.7265, allocations: 0.6224 MB / 0.7629 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.7266, allocations: 4 kB / 0.7629 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.884e-05/0.7266, allocations: 24 kB / 0.7629 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.174e-05/0.7267, allocations: 17 kB / 0.7629 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.7281, allocations: 0.562 MB / 0.7635 GB, free: 5.996 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.00401/0.7321, allocations: 2.276 MB / 0.7657 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009585/0.7331, allocations: 298.2 kB / 0.766 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000552/0.7336, allocations: 172.7 kB / 0.7662 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.7337, allocations: 4 kB / 0.7662 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.7337, allocations: 37.75 kB / 0.7662 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 2.355e-06/0.7337, allocations: 0 / 0.7662 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.005367/0.7391, allocations: 1.11 MB / 0.7673 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.7392, allocations: 81.05 kB / 0.7674 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000685/0.7399, allocations: 0.5535 MB / 0.7679 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.045e-05/0.7399, allocations: 25.7 kB / 0.7679 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.7401, allocations: 303.5 kB / 0.7682 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.906e-05/0.7402, allocations: 39.45 kB / 0.7682 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.7403, allocations: 67.34 kB / 0.7683 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.7405, allocations: 354.8 kB / 0.7686 GB, free: 484 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005891/0.7411, allocations: 195.8 kB / 0.7688 GB, free: 288 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006473/0.7417, allocations: 283.4 kB / 0.7691 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.7429, allocations: 415 kB / 0.7695 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.7429, allocations: 0 / 0.7695 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002705/0.7456, allocations: 0.7433 MB / 0.7702 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.7456, allocations: 8 kB / 0.7702 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.7456, allocations: 0 / 0.7702 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006423/0.7463, allocations: 184.7 kB / 0.7704 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000387/0.7467, allocations: 75.88 kB / 0.7705 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004128/0.7508, allocations: 2.231 MB / 0.7727 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007393/0.7516, allocations: 87.38 kB / 0.7727 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/0.7516, allocations: 12 kB / 0.7728 GB, free: 12.05 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.0003417/0.752, allocations: 189.7 kB / 0.7729 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.7521, allocations: 55.38 kB / 0.773 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/0.7523, allocations: 52.03 kB / 0.773 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.7523, allocations: 4 kB / 0.773 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.7523, allocations: 0 / 0.773 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.7523, allocations: 0 / 0.773 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00328/0.7556, allocations: 1.145 MB / 0.7742 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.7556, allocations: 96 / 0.7742 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.7559, allocations: 43.89 kB / 0.7742 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005364/0.7564, allocations: 180.7 kB / 0.7744 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.345e-05/0.7565, allocations: 12.61 kB / 0.7744 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003682/0.7602, allocations: 2.185 MB / 0.7765 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.7602, allocations: 4.75 kB / 0.7765 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002572/0.7628, allocations: 0.7079 MB / 0.7772 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003287/0.7631, allocations: 164.5 kB / 0.7774 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.7632, allocations: 11.94 kB / 0.7774 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006789/0.7639, allocations: 68.89 kB / 0.7775 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.263e-05/0.764, allocations: 7.984 kB / 0.7775 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.418e-05/0.7641, allocations: 19.23 kB / 0.7775 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005034/0.7646, allocations: 394.8 kB / 0.7779 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7646, allocations: 0 / 0.7779 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007576/0.7653, allocations: 179.8 kB / 0.778 GB, free: 6.395 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.0005056/0.7659, allocations: 176.9 kB / 0.7782 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001698/0.7676, allocations: 0.5424 MB / 0.7787 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.7676, allocations: 0 / 0.7787 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007497/0.7683, allocations: 311 kB / 0.779 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/0.7699, allocations: 303.5 kB / 0.7793 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003406/0.7733, allocations: 1.278 MB / 0.7806 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004859/0.7738, allocations: 0.8621 MB / 0.7814 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.774, allocations: 47.36 kB / 0.7814 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of SimCode: time 5.31e-07/0.774, allocations: 0 / 0.7814 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of Templates: time 0.01616/0.7901, allocations: 11.1 MB / 0.7923 GB, free: 7.852 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)