Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="BuildingSystems_BuildingSystems_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.001143/0.001143, 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.001253/0.001253, allocations: 196 kB / 16.53 MB, free: 6.391 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.304/1.304, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002109/0.002109, allocations: 283 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9454/0.9454, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002873/0.002873, allocations: 93.27 kB / 0.5953 GB, free: 27.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.15, allocations: 86.98 MB / 0.6803 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.4209/0.571, allocations: 171 MB / 0.8473 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006027/0.577, allocations: 4.288 MB / 0.8515 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004992/0.5776, allocations: 22.75 kB / 0.8515 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008936/0.5785, allocations: 354.1 kB / 0.8519 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00241/0.5809, allocations: 1.233 MB / 0.8531 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001654/0.5826, allocations: 0.7856 MB / 0.8538 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001537/0.5841, allocations: 1.691 MB / 0.8555 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006185/0.5848, allocations: 0.5593 MB / 0.856 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008848/0.5857, allocations: 0.6757 MB / 0.8567 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009575/0.5866, allocations: 0.5527 MB / 0.8572 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.582e-05/0.5867, allocations: 65.56 kB / 0.8573 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.588, allocations: 0.8019 MB / 0.8581 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002433/0.5883, allocations: 272.9 kB / 0.8583 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003708/0.5887, allocations: 401.9 kB / 0.8587 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.5901, allocations: 1.26 MB / 0.86 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5901, allocations: 0 / 0.86 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5901, allocations: 0 / 0.86 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.5901, allocations: 0 / 0.86 GB, free: 6.707 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.001861/0.592, allocations: 1.036 MB / 0.861 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.592, allocations: 10.28 kB / 0.861 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001235/0.5922, allocations: 98.08 kB / 0.8611 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.5932, allocations: 171.3 kB / 0.8612 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006929/0.5939, allocations: 0.5218 MB / 0.8617 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.5939, allocations: 43.59 kB / 0.8618 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.223e-05/0.594, allocations: 52.55 kB / 0.8618 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.595, allocations: 0.649 MB / 0.8625 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.5951, allocations: 3.938 kB / 0.8625 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.238e-05/0.5951, allocations: 27.5 kB / 0.8625 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.095e-05/0.5952, allocations: 21.44 kB / 0.8625 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008882/0.5961, allocations: 0.5095 MB / 0.863 GB, free: 4.586 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.003042/0.5991, allocations: 2.317 MB / 0.8653 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004998/0.5996, allocations: 252.7 kB / 0.8655 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/0.5999, allocations: 138.1 kB / 0.8656 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.5999, allocations: 10.73 kB / 0.8657 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.5999, allocations: 40.94 kB / 0.8657 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=20): time 1.472e-06/0.5999, allocations: 0 / 0.8657 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20): time 0.001606/0.6016, allocations: 0.668 MB / 0.8664 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.6016, allocations: 79.11 kB / 0.8664 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000583/0.6022, allocations: 0.5569 MB / 0.867 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.6022, allocations: 34.05 kB / 0.867 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.6025, allocations: 338.3 kB / 0.8673 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.573e-05/0.6025, allocations: 69.58 kB / 0.8674 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.6026, allocations: 69.59 kB / 0.8675 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.6028, allocations: 362.8 kB / 0.8678 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/0.6031, allocations: 138.3 kB / 0.8679 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003069/0.6034, allocations: 219.3 kB / 0.8681 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005211/0.6039, allocations: 335.1 kB / 0.8685 GB, free: 276 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6039, allocations: 4.406 kB / 0.8685 GB, free: 276 kB / 0.5762 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000901/0.6048, allocations: 0.494 MB / 0.869 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.6048, allocations: 4.875 kB / 0.869 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.6049, allocations: 6.016 kB / 0.869 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002931/0.6052, allocations: 91.53 kB / 0.869 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/0.6055, allocations: 71.06 kB / 0.8691 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002845/0.6083, allocations: 3.34 MB / 0.8724 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004789/0.6088, allocations: 46.64 kB / 0.8724 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.6089, allocations: 13.75 kB / 0.8724 GB, free: 12.69 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.000248/0.6091, allocations: 216.7 kB / 0.8726 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-05/0.6092, allocations: 54.59 kB / 0.8727 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.029e-05/0.6093, allocations: 58.72 kB / 0.8728 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.6093, allocations: 6.109 kB / 0.8728 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.6093, allocations: 3.938 kB / 0.8728 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000718/0.6101, allocations: 0.5392 MB / 0.8733 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.6113, allocations: 0.9107 MB / 0.8742 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.6113, allocations: 3.75 kB / 0.8742 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.6115, allocations: 41.47 kB / 0.8742 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001942/0.6117, allocations: 66.09 kB / 0.8743 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.6117, allocations: 6.062 kB / 0.8743 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/0.6134, allocations: 1.827 MB / 0.8761 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6134, allocations: 0 / 0.8761 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006056/0.614, allocations: 443 kB / 0.8765 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002042/0.6142, allocations: 169.8 kB / 0.8767 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.495e-05/0.6143, allocations: 6.688 kB / 0.8767 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004562/0.6147, allocations: 19.55 kB / 0.8767 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.116e-05/0.6148, allocations: 23.72 kB / 0.8767 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.711e-05/0.6149, allocations: 18.08 kB / 0.8767 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004243/0.6153, allocations: 393.3 kB / 0.8771 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6153, allocations: 0 / 0.8771 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005718/0.6159, allocations: 204.5 kB / 0.8773 GB, free: 8.75 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.617, allocations: 1.041 MB / 0.8783 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008465/0.6178, allocations: 0.5433 MB / 0.8788 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/0.6178, allocations: 7.75 kB / 0.8788 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003444/0.6182, allocations: 248.8 kB / 0.8791 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.6198, allocations: 375 kB / 0.8794 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00549/0.6253, allocations: 4.537 MB / 0.8839 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.6258, allocations: 0.9095 MB / 0.8848 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000412/0.6262, allocations: 104.4 kB / 0.8849 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/0.6265, allocations: 197.9 kB / 0.885 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.6265, allocations: 0 / 0.885 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04111/0.6676, allocations: 17.67 MB / 0.9023 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.32, allocations: 2.344 kB / 0.9023 GB, free: 3.207 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)