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.005818/0.005818, allocations: 107.8 kB / 15.7 MB, free: 5.574 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.00132/0.00132, allocations: 194.5 kB / 16.64 MB, free: 5.52 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.36/1.36, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.636/1.636, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001374/0.001374, allocations: 69.89 kB / 0.6718 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2165, allocations: 114.5 MB / 0.7836 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5636/0.7801, allocations: 171 MB / 0.9507 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005863/0.786, allocations: 4.269 MB / 0.9548 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006144/0.7866, allocations: 22 kB / 0.9549 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008616/0.7875, allocations: 352.9 kB / 0.9552 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002459/0.79, allocations: 1.22 MB / 0.9564 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.7917, allocations: 0.7865 MB / 0.9572 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00176/0.7935, allocations: 1.676 MB / 0.9588 GB, free: 412 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000684/0.7942, allocations: 0.5656 MB / 0.9593 GB, free: 332 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.7953, allocations: 0.6822 MB / 0.96 GB, free: 248 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.7964, allocations: 0.5529 MB / 0.9605 GB, free: 228 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.7965, allocations: 65.75 kB / 0.9606 GB, free: 228 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/0.798, allocations: 0.7967 MB / 0.9614 GB, free: 156 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002548/0.7983, allocations: 267.1 kB / 0.9616 GB, free: 152 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004299/0.7987, allocations: 404.7 kB / 0.962 GB, free: 148 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.8002, allocations: 1.261 MB / 0.9633 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.8002, allocations: 0 / 0.9633 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8002, allocations: 0 / 0.9633 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.998e-06/0.8002, allocations: 4 kB / 0.9633 GB, free: 15.98 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.001663/0.8019, allocations: 1.042 MB / 0.9643 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.8019, allocations: 9.156 kB / 0.9643 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001138/0.802, allocations: 101 kB / 0.9644 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009369/0.803, allocations: 161.7 kB / 0.9645 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007577/0.8037, allocations: 0.5336 MB / 0.9651 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.8038, allocations: 43.2 kB / 0.9651 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.79e-05/0.8039, allocations: 55.78 kB / 0.9652 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.8049, allocations: 0.6458 MB / 0.9658 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.8049, allocations: 0.9688 kB / 0.9658 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.164e-05/0.805, allocations: 26.81 kB / 0.9658 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.293e-05/0.805, allocations: 21.91 kB / 0.9658 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008875/0.8059, allocations: 0.5143 MB / 0.9663 GB, free: 14.92 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.003113/0.809, allocations: 2.291 MB / 0.9686 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004845/0.8095, allocations: 259.9 kB / 0.9688 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.8098, allocations: 138.2 kB / 0.969 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.8098, allocations: 8.125 kB / 0.969 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.8099, allocations: 36.88 kB / 0.969 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 3.927e-06/0.8099, allocations: 0 / 0.969 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.00165/0.8115, allocations: 0.6692 MB / 0.9696 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.8116, allocations: 85.39 kB / 0.9697 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006974/0.8123, allocations: 0.5527 MB / 0.9703 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.8123, allocations: 36.17 kB / 0.9703 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/0.8126, allocations: 326.4 kB / 0.9706 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.017e-05/0.8127, allocations: 76.78 kB / 0.9707 GB, free: 13 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.8128, allocations: 70.12 kB / 0.9708 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.813, allocations: 363.8 kB / 0.9711 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/0.8132, allocations: 134.3 kB / 0.9712 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003157/0.8136, allocations: 215.4 kB / 0.9714 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004947/0.8141, allocations: 332.8 kB / 0.9718 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.8141, allocations: 0 / 0.9718 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008931/0.815, allocations: 0.4952 MB / 0.9722 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.815, allocations: 7.766 kB / 0.9722 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.815, allocations: 2.469 kB / 0.9722 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003443/0.8154, allocations: 93.98 kB / 0.9723 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.8157, allocations: 71.61 kB / 0.9724 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002939/0.8187, allocations: 3.339 MB / 0.9757 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005363/0.8192, allocations: 52.48 kB / 0.9757 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.8193, allocations: 14.12 kB / 0.9757 GB, free: 9.207 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.0002794/0.8195, allocations: 215.8 kB / 0.9759 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.738e-05/0.8196, allocations: 68.91 kB / 0.976 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.542e-05/0.8197, allocations: 50.22 kB / 0.976 GB, free: 8.973 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.8197, allocations: 2.812 kB / 0.9761 GB, free: 8.973 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.8198, allocations: 3.938 kB / 0.9761 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006502/0.8204, allocations: 0.5356 MB / 0.9766 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.8216, allocations: 0.9202 MB / 0.9775 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.8216, allocations: 2.578 kB / 0.9775 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.8218, allocations: 40.14 kB / 0.9775 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001754/0.822, allocations: 60.72 kB / 0.9776 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.822, allocations: 10.88 kB / 0.9776 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/0.8235, allocations: 1.829 MB / 0.9794 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.8235, allocations: 1.594 kB / 0.9794 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005651/0.824, allocations: 438.4 kB / 0.9798 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001956/0.8242, allocations: 168.2 kB / 0.98 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.797e-05/0.8243, allocations: 10.56 kB / 0.98 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004054/0.8247, allocations: 18.7 kB / 0.98 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.745e-05/0.8248, allocations: 20.66 kB / 0.98 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.949e-05/0.8249, allocations: 12.72 kB / 0.98 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003842/0.8252, allocations: 398.2 kB / 0.9804 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8253, allocations: 0 / 0.9804 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006034/0.8259, allocations: 206.9 kB / 0.9806 GB, free: 5.492 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.001072/0.8269, allocations: 1.022 MB / 0.9816 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008222/0.8278, allocations: 0.5434 MB / 0.9821 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.8278, allocations: 1.969 kB / 0.9821 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003228/0.8281, allocations: 258.1 kB / 0.9824 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/0.8298, allocations: 360.4 kB / 0.9827 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005618/0.8354, allocations: 4.438 MB / 0.987 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.8358, allocations: 0.911 MB / 0.9879 GB, free: 124 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004303/0.8363, allocations: 110.9 kB / 0.988 GB, free: 72 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000268/0.8365, allocations: 196.2 kB / 0.9882 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of SimCode: time 6.51e-07/0.8365, allocations: 0 / 0.9882 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04324/0.8798, allocations: 17.64 MB / 1.005 GB, free: 7.402 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.64, allocations: 7.281 kB / 1.005 GB, free: 7.398 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)