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: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.001502/0.001502, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 196 kB / 16.54 MB, free: 6.672 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.34/1.34, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9094/0.9094, allocations: 135.1 MB / 425.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 56.5 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1316, allocations: 80.94 MB / 0.5845 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.3795/0.5111, allocations: 171 MB / 0.7515 GB, free: 120 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005675/0.5169, allocations: 4.281 MB / 0.7557 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003856/0.5173, allocations: 23.47 kB / 0.7557 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008508/0.5182, allocations: 352.9 kB / 0.756 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002244/0.5204, allocations: 1.224 MB / 0.7572 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.522, allocations: 0.7809 MB / 0.758 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001522/0.5235, allocations: 1.69 MB / 0.7596 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006477/0.5242, allocations: 0.5684 MB / 0.7602 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008578/0.5251, allocations: 0.6771 MB / 0.7609 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000964/0.526, allocations: 0.5542 MB / 0.7614 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.5262, allocations: 68 kB / 0.7615 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.5274, allocations: 0.799 MB / 0.7622 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002548/0.5277, allocations: 271.3 kB / 0.7625 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000402/0.5281, allocations: 406.3 kB / 0.7629 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.5294, allocations: 1.258 MB / 0.7641 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.5295, allocations: 7.984 kB / 0.7641 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5295, allocations: 0 / 0.7641 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.228e-06/0.5295, allocations: 0 / 0.7641 GB, free: 4.867 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001629/0.5311, allocations: 1.029 MB / 0.7651 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.5311, allocations: 8.031 kB / 0.7651 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001219/0.5313, allocations: 110.5 kB / 0.7652 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000983/0.5323, allocations: 159.1 kB / 0.7654 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007087/0.533, allocations: 0.521 MB / 0.7659 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/0.533, allocations: 37.31 kB / 0.7659 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.724e-05/0.5331, allocations: 59.92 kB / 0.766 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.5341, allocations: 0.6519 MB / 0.7666 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.5342, allocations: 0 / 0.7666 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.258e-05/0.5342, allocations: 24 kB / 0.7667 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.107e-05/0.5343, allocations: 25.3 kB / 0.7667 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009242/0.5352, allocations: 0.5125 MB / 0.7672 GB, free: 1.629 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.003146/0.5384, allocations: 2.32 MB / 0.7694 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005149/0.5389, allocations: 263.3 kB / 0.7697 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.5391, allocations: 130.8 kB / 0.7698 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.5392, allocations: 7.984 kB / 0.7698 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.5392, allocations: 46.56 kB / 0.7699 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.5392, allocations: 0 / 0.7699 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20): time 0.001647/0.5409, allocations: 0.6727 MB / 0.7705 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.5409, allocations: 85.09 kB / 0.7706 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000609/0.5415, allocations: 0.5573 MB / 0.7712 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.08e-05/0.5416, allocations: 33.7 kB / 0.7712 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/0.5418, allocations: 335.4 kB / 0.7715 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.787e-05/0.5419, allocations: 71 kB / 0.7716 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.542, allocations: 69.94 kB / 0.7716 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.5422, allocations: 358.8 kB / 0.772 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/0.5424, allocations: 132.6 kB / 0.7721 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.5428, allocations: 215.5 kB / 0.7723 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005298/0.5433, allocations: 345.7 kB / 0.7726 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5433, allocations: 3.938 kB / 0.7727 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009023/0.5442, allocations: 494.7 kB / 0.7731 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.5442, allocations: 7.938 kB / 0.7731 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.5443, allocations: 7.938 kB / 0.7731 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003007/0.5446, allocations: 97.64 kB / 0.7732 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003264/0.5449, allocations: 71.84 kB / 0.7733 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002961/0.5479, allocations: 3.343 MB / 0.7766 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004575/0.5483, allocations: 55.38 kB / 0.7766 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.5484, allocations: 8 kB / 0.7766 GB, free: 7.305 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002468/0.5486, allocations: 226.4 kB / 0.7768 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.5487, allocations: 55.34 kB / 0.7769 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.755e-05/0.5488, allocations: 52.52 kB / 0.7769 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.5488, allocations: 15.91 kB / 0.777 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.5489, allocations: 0 / 0.777 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007155/0.5496, allocations: 0.5292 MB / 0.7775 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.5508, allocations: 0.916 MB / 0.7784 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.5508, allocations: 0 / 0.7784 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.551, allocations: 35.98 kB / 0.7784 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002055/0.5513, allocations: 76.8 kB / 0.7785 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.5513, allocations: 1.438 kB / 0.7785 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/0.5529, allocations: 1.828 MB / 0.7803 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5529, allocations: 0 / 0.7803 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006192/0.5535, allocations: 437.4 kB / 0.7807 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/0.5538, allocations: 168.4 kB / 0.7808 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.254e-05/0.5538, allocations: 4 kB / 0.7808 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004497/0.5543, allocations: 27.16 kB / 0.7809 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.62e-05/0.5544, allocations: 19.92 kB / 0.7809 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/0.5544, allocations: 15.98 kB / 0.7809 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004302/0.5549, allocations: 402.8 kB / 0.7813 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5549, allocations: 0 / 0.7813 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005849/0.5555, allocations: 199.6 kB / 0.7815 GB, free: 2.012 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 (15): * Single equations (assignments): 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001079/0.5565, allocations: 1.028 MB / 0.7825 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008658/0.5574, allocations: 0.55 MB / 0.783 GB, free: 392 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5574, allocations: 0 / 0.783 GB, free: 392 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003607/0.5578, allocations: 262.4 kB / 0.7833 GB, free: 116 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/0.5595, allocations: 365.2 kB / 0.7836 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005616/0.5651, allocations: 4.547 MB / 0.7881 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.5656, allocations: 0.9093 MB / 0.7889 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004233/0.566, allocations: 112.8 kB / 0.7891 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/0.5662, allocations: 191.4 kB / 0.7892 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.5662, allocations: 0 / 0.7892 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04233/0.6086, allocations: 17.65 MB / 0.8065 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.23, allocations: 11.16 kB / 0.8065 GB, free: 8.551 MB / 0.6231 GB (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)