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.0007585/0.0007585, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0008174/0.0008175, allocations: 172.7 kB / 15.95 MB, free: 208 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.294/1.294, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7351/0.7351, allocations: 132.4 MB / 423.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002923/0.0002924, allocations: 8 kB / 0.5034 GB, free: 4.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3396, allocations: 81.58 MB / 0.5831 GB, free: 4.25 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1585/0.4982, allocations: 155.4 MB / 0.7348 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005521/0.5037, allocations: 4.008 MB / 0.7387 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005307/0.5043, allocations: 23.81 kB / 0.7387 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006794/0.505, allocations: 226.6 kB / 0.739 GB, free: 0.7734 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.001698/0.5067, allocations: 0.7463 MB / 0.7397 GB, free: 24 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.5083, allocations: 0.5999 MB / 0.7403 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001611/0.5099, allocations: 1.508 MB / 0.7417 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005522/0.5104, allocations: 360.3 kB / 0.7421 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001/0.5115, allocations: 0.5563 MB / 0.7426 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006648/0.5121, allocations: 430.4 kB / 0.743 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.118e-05/0.5122, allocations: 24 kB / 0.7431 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.5133, allocations: 0.6081 MB / 0.7437 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.5135, allocations: 195.4 kB / 0.7438 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.5137, allocations: 137.5 kB / 0.744 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008303/0.5145, allocations: 0.8028 MB / 0.7448 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5145, allocations: 0 / 0.7448 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5145, allocations: 0 / 0.7448 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.5146, allocations: 0 / 0.7448 GB, free: 10.82 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.001384/0.516, allocations: 0.8454 MB / 0.7456 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.516, allocations: 8.031 kB / 0.7456 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00157/0.5176, allocations: 287 kB / 0.7459 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007529/0.5183, allocations: 473.8 kB / 0.7463 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003044/0.5186, allocations: 104.9 kB / 0.7464 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-05/0.5187, allocations: 44 kB / 0.7465 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.52, allocations: 0.6302 MB / 0.7471 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.52, allocations: 3.938 kB / 0.7471 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.535e-05/0.52, allocations: 23.95 kB / 0.7471 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.01e-05/0.5201, allocations: 21 kB / 0.7471 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.5215, allocations: 0.5777 MB / 0.7477 GB, free: 7.711 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.0038/0.5253, allocations: 2.307 MB / 0.7499 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009251/0.5263, allocations: 310.3 kB / 0.7502 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005317/0.5268, allocations: 184.7 kB / 0.7504 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.5268, allocations: 0 / 0.7504 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.5269, allocations: 42.5 kB / 0.7505 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 9.42e-07/0.5269, allocations: 0 / 0.7505 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.004813/0.5317, allocations: 1.197 MB / 0.7516 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.5317, allocations: 77.33 kB / 0.7517 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005963/0.5323, allocations: 0.5534 MB / 0.7522 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.5324, allocations: 25.7 kB / 0.7523 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.5326, allocations: 303.5 kB / 0.7525 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/0.5326, allocations: 39.41 kB / 0.7526 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-05/0.5327, allocations: 4 kB / 0.7526 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.5328, allocations: 362.8 kB / 0.7529 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005899/0.5334, allocations: 207.8 kB / 0.7531 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006192/0.534, allocations: 291.6 kB / 0.7534 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005836/0.5346, allocations: 217.9 kB / 0.7536 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.5346, allocations: 4 kB / 0.7536 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002497/0.5371, allocations: 0.7825 MB / 0.7544 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.5372, allocations: 8.031 kB / 0.7544 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.5372, allocations: 8 kB / 0.7544 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005767/0.5377, allocations: 184.7 kB / 0.7546 GB, free: 376 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/0.5381, allocations: 83.88 kB / 0.7547 GB, free: 292 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00408/0.5422, allocations: 2.182 MB / 0.7568 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006118/0.5429, allocations: 95.62 kB / 0.7569 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.5429, allocations: 16 kB / 0.7569 GB, free: 13.87 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 (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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002525/0.5432, allocations: 201.6 kB / 0.7571 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.5433, allocations: 51.44 kB / 0.7571 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.5434, allocations: 48.03 kB / 0.7572 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.5434, allocations: 0 / 0.7572 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5434, allocations: 3.984 kB / 0.7572 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.5434, allocations: 8 kB / 0.7572 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002967/0.5464, allocations: 1.195 MB / 0.7584 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.5464, allocations: 0 / 0.7584 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.5467, allocations: 48.02 kB / 0.7584 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005109/0.5472, allocations: 188.6 kB / 0.7586 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.5472, allocations: 7.984 kB / 0.7586 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003162/0.5504, allocations: 2.061 MB / 0.7606 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.5504, allocations: 4 kB / 0.7606 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002306/0.5527, allocations: 0.7549 MB / 0.7613 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.553, allocations: 164.5 kB / 0.7615 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.338e-05/0.553, allocations: 4 kB / 0.7615 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005785/0.5536, allocations: 64.55 kB / 0.7616 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.5537, allocations: 19.88 kB / 0.7616 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.835e-05/0.5537, allocations: 11.98 kB / 0.7616 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004496/0.5542, allocations: 394.8 kB / 0.762 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5542, allocations: 0 / 0.762 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006414/0.5548, allocations: 179.8 kB / 0.7621 GB, free: 8.23 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 (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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003558/0.5552, allocations: 169.8 kB / 0.7623 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002004/0.5572, allocations: 0.6474 MB / 0.7629 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.5572, allocations: 4 kB / 0.7629 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006915/0.5579, allocations: 319.1 kB / 0.7633 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.5593, allocations: 296.7 kB / 0.7635 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002824/0.5621, allocations: 1.261 MB / 0.7648 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.5625, allocations: 0.8624 MB / 0.7656 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004454/0.563, allocations: 104.5 kB / 0.7657 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.479e-05/0.5631, allocations: 39.42 kB / 0.7657 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of SimCode: time 3.5e-07/0.5631, allocations: 0 / 0.7657 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of Templates: time 0.01796/0.5811, allocations: 11.35 MB / 0.7768 GB, free: 9.309 MB / 0.6075 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)