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: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009769/0.0009771, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009616/0.0009617, allocations: 191.8 kB / 16.13 MB, free: 6.711 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.199/1.199, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8203/0.8203, allocations: 135.1 MB / 425.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 68.17 kB / 0.5048 GB, free: 5.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1282, allocations: 80.92 MB / 0.5838 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.3659/0.4941, allocations: 168.7 MB / 0.7486 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005653/0.4998, allocations: 4.327 MB / 0.7528 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006227/0.5004, allocations: 18.56 kB / 0.7528 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009074/0.5014, allocations: 302.5 kB / 0.7531 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00209/0.5035, allocations: 0.9368 MB / 0.754 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.5052, allocations: 0.7262 MB / 0.7547 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001661/0.5068, allocations: 1.79 MB / 0.7565 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000589/0.5074, allocations: 418.8 kB / 0.7569 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.5086, allocations: 0.5992 MB / 0.7575 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.5096, allocations: 470.6 kB / 0.7579 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.318e-05/0.5097, allocations: 28 kB / 0.7579 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.5113, allocations: 1.005 MB / 0.7589 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.5115, allocations: 191.4 kB / 0.7591 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003384/0.5119, allocations: 310.5 kB / 0.7594 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.5132, allocations: 1.145 MB / 0.7605 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5132, allocations: 0 / 0.7605 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.82e-07/0.5132, allocations: 0 / 0.7605 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.674e-05/0.5132, allocations: 0 / 0.7605 GB, free: 8.465 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.001554/0.5148, allocations: 0.9582 MB / 0.7615 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.5148, allocations: 12.03 kB / 0.7615 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.425e-05/0.5149, allocations: 82.53 kB / 0.7615 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001589/0.5165, allocations: 255.1 kB / 0.7618 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007579/0.5173, allocations: 489.3 kB / 0.7623 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003005/0.5176, allocations: 92.92 kB / 0.7623 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.815e-05/0.5177, allocations: 40 kB / 0.7624 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.5189, allocations: 0.6224 MB / 0.763 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.5189, allocations: 0 / 0.763 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.261e-05/0.519, allocations: 16 kB / 0.763 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-05/0.519, allocations: 20.94 kB / 0.763 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.5204, allocations: 0.5581 MB / 0.7636 GB, free: 5.219 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.003707/0.5241, allocations: 2.295 MB / 0.7658 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008778/0.525, allocations: 286.3 kB / 0.7661 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000508/0.5255, allocations: 176.6 kB / 0.7663 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.5255, allocations: 4 kB / 0.7663 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.5255, allocations: 38.56 kB / 0.7663 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.213e-06/0.5256, allocations: 4 kB / 0.7663 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.00484/0.5304, allocations: 1.104 MB / 0.7674 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.5305, allocations: 85.09 kB / 0.7675 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005885/0.531, allocations: 0.5418 MB / 0.768 GB, free: 496 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.454e-05/0.5311, allocations: 33.69 kB / 0.768 GB, free: 456 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.5313, allocations: 303.5 kB / 0.7683 GB, free: 148 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.5313, allocations: 39.44 kB / 0.7683 GB, free: 108 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.5315, allocations: 67.36 kB / 0.7684 GB, free: 36 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.5316, allocations: 354.8 kB / 0.7687 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005761/0.5322, allocations: 195.8 kB / 0.7689 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006055/0.5328, allocations: 275.9 kB / 0.7692 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.5339, allocations: 427.2 kB / 0.7696 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.5339, allocations: 7.938 kB / 0.7696 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002535/0.5364, allocations: 0.7355 MB / 0.7703 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.5365, allocations: 8 kB / 0.7703 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.5365, allocations: 4 kB / 0.7703 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005787/0.5371, allocations: 184.8 kB / 0.7705 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003563/0.5374, allocations: 71.88 kB / 0.7706 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003468/0.5409, allocations: 2.083 MB / 0.7726 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005774/0.5415, allocations: 91.38 kB / 0.7727 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.5415, allocations: 8 kB / 0.7727 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 (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.0002117/0.5418, allocations: 193.7 kB / 0.7729 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.584e-05/0.5419, allocations: 47.44 kB / 0.7729 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.963e-05/0.542, allocations: 52.05 kB / 0.773 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.542, allocations: 3.938 kB / 0.773 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.542, allocations: 3.984 kB / 0.773 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.542, allocations: 0 / 0.773 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002901/0.5449, allocations: 1.145 MB / 0.7741 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5449, allocations: 0 / 0.7741 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.5451, allocations: 35.95 kB / 0.7742 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004931/0.5456, allocations: 188.6 kB / 0.7743 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.5457, allocations: 7.984 kB / 0.7743 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003165/0.5488, allocations: 2.03 MB / 0.7763 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5489, allocations: 1.875 kB / 0.7763 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002387/0.5512, allocations: 0.7195 MB / 0.777 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/0.5515, allocations: 164.5 kB / 0.7772 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.907e-05/0.5515, allocations: 4 kB / 0.7772 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005799/0.5521, allocations: 57.75 kB / 0.7772 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.5522, allocations: 15.98 kB / 0.7773 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.216e-05/0.5522, allocations: 16.02 kB / 0.7773 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004001/0.5526, allocations: 398.8 kB / 0.7777 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5526, allocations: 0 / 0.7777 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005717/0.5532, allocations: 183.8 kB / 0.7778 GB, free: 5.93 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.002906/0.5561, allocations: 1.327 MB / 0.7791 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001455/0.5576, allocations: 0.5296 MB / 0.7796 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5576, allocations: 0 / 0.7796 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006898/0.5583, allocations: 303 kB / 0.7799 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.5596, allocations: 297 kB / 0.7802 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/0.5705, allocations: 5.324 MB / 0.7854 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.5709, allocations: 0.866 MB / 0.7863 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004193/0.5714, allocations: 107.2 kB / 0.7864 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.5716, allocations: 163.4 kB / 0.7865 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.5716, allocations: 0 / 0.7865 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7961/1.368, allocations: 16.09 MB / 0.8022 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002792/1.368, allocations: 303.1 kB / 0.8025 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.05/3.418, allocations: 0 / 0.8025 GB, free: 12.73 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)