Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_8_Buildings_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.001668/0.001668, 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.002041/0.002041, allocations: 193.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.1 MB / 222.4 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.699/1.699, allocations: 292.3 MB / 0.5489 GB, free: 12.82 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 75.59 kB / 0.6716 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2509, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.7547/1.006, allocations: 171 MB / 0.9505 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009394/1.015, allocations: 4.268 MB / 0.9547 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/1.016, allocations: 27.33 kB / 0.9547 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/1.018, allocations: 351.5 kB / 0.955 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004259/1.022, allocations: 1.212 MB / 0.9562 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002858/1.025, allocations: 0.7861 MB / 0.957 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003163/1.028, allocations: 1.674 MB / 0.9586 GB, free: 284 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/1.029, allocations: 0.5658 MB / 0.9592 GB, free: 208 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00205/1.031, allocations: 0.6791 MB / 0.9598 GB, free: 124 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/1.033, allocations: 0.5453 MB / 0.9604 GB, free: 104 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001722/1.033, allocations: 65.22 kB / 0.9604 GB, free: 104 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002441/1.035, allocations: 0.7975 MB / 0.9612 GB, free: 28 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003548/1.036, allocations: 269.8 kB / 0.9615 GB, free: 24 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006709/1.036, allocations: 407.6 kB / 0.9619 GB, free: 20 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002533/1.039, allocations: 1.257 MB / 0.9631 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/1.039, allocations: 0 / 0.9631 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.328e-06/1.039, allocations: 1.375 kB / 0.9631 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.817e-05/1.039, allocations: 3.938 kB / 0.9631 GB, free: 15.87 MB / 0.7325 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.00212/1.041, allocations: 1.033 MB / 0.9641 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/1.041, allocations: 9.812 kB / 0.9641 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001336/1.041, allocations: 99.61 kB / 0.9642 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/1.042, allocations: 170.4 kB / 0.9644 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000831/1.043, allocations: 0.5102 MB / 0.9649 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.26e-05/1.043, allocations: 41.16 kB / 0.9649 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.238e-05/1.043, allocations: 55.12 kB / 0.965 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/1.044, allocations: 0.6505 MB / 0.9656 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/1.044, allocations: 3.781 kB / 0.9656 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-05/1.044, allocations: 24.5 kB / 0.9656 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.92e-05/1.045, allocations: 22.66 kB / 0.9656 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009001/1.045, allocations: 0.5139 MB / 0.9661 GB, free: 14.81 MB / 0.7325 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.003372/1.049, allocations: 2.311 MB / 0.9684 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005094/1.049, allocations: 256.4 kB / 0.9686 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/1.05, allocations: 140.5 kB / 0.9688 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/1.05, allocations: 4.609 kB / 0.9688 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/1.05, allocations: 37.41 kB / 0.9688 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.694e-06/1.05, allocations: 0 / 0.9688 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.001831/1.052, allocations: 0.6724 MB / 0.9695 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/1.052, allocations: 82.98 kB / 0.9696 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006283/1.052, allocations: 0.5598 MB / 0.9701 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.083e-05/1.052, allocations: 31.58 kB / 0.9701 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/1.053, allocations: 330.6 kB / 0.9704 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.266e-05/1.053, allocations: 73.73 kB / 0.9705 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/1.053, allocations: 66.39 kB / 0.9706 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001484/1.053, allocations: 363.8 kB / 0.9709 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/1.053, allocations: 129.9 kB / 0.971 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/1.054, allocations: 223.7 kB / 0.9713 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005272/1.054, allocations: 336.4 kB / 0.9716 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/1.054, allocations: 1.531 kB / 0.9716 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009185/1.055, allocations: 498 kB / 0.9721 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/1.055, allocations: 9.906 kB / 0.9721 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/1.055, allocations: 5.547 kB / 0.9721 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003274/1.055, allocations: 94.05 kB / 0.9722 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/1.056, allocations: 72.34 kB / 0.9722 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002979/1.059, allocations: 3.342 MB / 0.9755 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005662/1.059, allocations: 52.39 kB / 0.9755 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/1.059, allocations: 14.25 kB / 0.9756 GB, free: 9.168 MB / 0.7325 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.0003543/1.06, allocations: 220.8 kB / 0.9758 GB, free: 9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/1.06, allocations: 52.09 kB / 0.9758 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.744e-05/1.06, allocations: 55.77 kB / 0.9759 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/1.06, allocations: 6.25 kB / 0.9759 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.06, allocations: 3.938 kB / 0.9759 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007478/1.061, allocations: 0.5355 MB / 0.9764 GB, free: 8.504 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/1.062, allocations: 0.9182 MB / 0.9773 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/1.062, allocations: 2.812 kB / 0.9773 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/1.062, allocations: 40.44 kB / 0.9773 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002093/1.062, allocations: 63.48 kB / 0.9774 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/1.062, allocations: 10.19 kB / 0.9774 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/1.064, allocations: 1.822 MB / 0.9792 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/1.064, allocations: 6.766 kB / 0.9792 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007238/1.065, allocations: 432 kB / 0.9796 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002461/1.065, allocations: 172.9 kB / 0.9798 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.307e-05/1.065, allocations: 6.75 kB / 0.9798 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004368/1.066, allocations: 23 kB / 0.9798 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.529e-05/1.066, allocations: 22.72 kB / 0.9798 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-05/1.066, allocations: 15.3 kB / 0.9798 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004574/1.066, allocations: 397.2 kB / 0.9802 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/1.066, allocations: 0 / 0.9802 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006851/1.067, allocations: 203.9 kB / 0.9804 GB, free: 5.496 MB / 0.7325 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.001187/1.068, allocations: 1.028 MB / 0.9814 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009609/1.069, allocations: 0.5479 MB / 0.982 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/1.069, allocations: 1.969 kB / 0.982 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003746/1.07, allocations: 254.7 kB / 0.9822 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/1.071, allocations: 368.1 kB / 0.9825 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006302/1.078, allocations: 4.516 MB / 0.987 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005488/1.078, allocations: 0.9065 MB / 0.9878 GB, free: 20 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006379/1.079, allocations: 109.3 kB / 0.9879 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/1.079, allocations: 191.9 kB / 0.9881 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of SimCode: time 1.162e-06/1.079, allocations: 3.938 kB / 0.9881 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04489/1.124, allocations: 17.62 MB / 1.005 GB, free: 7.273 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.73, allocations: 10.92 kB / 1.005 GB, free: 7.27 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)