Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 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.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_8_Buildings_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.001075/0.001075, allocations: 105.4 kB / 15.7 MB, free: 24 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.001097/0.001097, allocations: 196.8 kB / 16.64 MB, free: 6.449 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.294/1.294, allocations: 205.1 MB / 222.5 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.639/1.639, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.002467/0.002467, allocations: 68.41 kB / 0.6718 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.247, allocations: 114.5 MB / 0.7836 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.6109/0.8579, allocations: 171 MB / 0.9506 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006344/0.8643, allocations: 4.261 MB / 0.9548 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008123/0.8653, allocations: 21.47 kB / 0.9548 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009505/0.8662, allocations: 344.4 kB / 0.9551 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00239/0.8686, allocations: 0.9919 MB / 0.9561 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002049/0.8707, allocations: 0.8136 MB / 0.9569 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00166/0.8723, allocations: 1.29 MB / 0.9581 GB, free: 492 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006053/0.873, allocations: 485.5 kB / 0.9586 GB, free: 424 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/0.8742, allocations: 0.674 MB / 0.9593 GB, free: 332 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.8753, allocations: 455.6 kB / 0.9597 GB, free: 316 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.764e-05/0.8754, allocations: 51.56 kB / 0.9597 GB, free: 316 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001862/0.8772, allocations: 0.9119 MB / 0.9606 GB, free: 240 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002937/0.8775, allocations: 213 kB / 0.9608 GB, free: 236 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004116/0.878, allocations: 329.1 kB / 0.9612 GB, free: 236 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.8795, allocations: 1.126 MB / 0.9623 GB, free: 136 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.8795, allocations: 1.188 kB / 0.9623 GB, free: 136 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.993e-06/0.8795, allocations: 0 / 0.9623 GB, free: 136 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.749e-06/0.8795, allocations: 0 / 0.9623 GB, free: 136 kB / 0.7169 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.001587/0.8811, allocations: 0.9478 MB / 0.9632 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.8812, allocations: 9.844 kB / 0.9632 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.8813, allocations: 88.2 kB / 0.9633 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/0.8829, allocations: 262.2 kB / 0.9635 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007889/0.8837, allocations: 0.4884 MB / 0.964 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.382e-05/0.8837, allocations: 34 kB / 0.964 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.366e-05/0.8838, allocations: 40.81 kB / 0.9641 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.885, allocations: 0.6151 MB / 0.9647 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.885, allocations: 0 / 0.9647 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.242e-05/0.8851, allocations: 19.41 kB / 0.9647 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.225e-05/0.8851, allocations: 23.89 kB / 0.9647 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.8865, allocations: 0.545 MB / 0.9652 GB, free: 15.05 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.00388/0.8904, allocations: 2.265 MB / 0.9675 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008993/0.8913, allocations: 279.8 kB / 0.9677 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005134/0.8918, allocations: 168.2 kB / 0.9679 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.8918, allocations: 12.7 kB / 0.9679 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.8919, allocations: 44.28 kB / 0.9679 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.8919, allocations: 3.938 kB / 0.9679 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.004901/0.8968, allocations: 1.079 MB / 0.969 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.8969, allocations: 82.48 kB / 0.9691 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005973/0.8975, allocations: 0.5561 MB / 0.9696 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.604e-05/0.8975, allocations: 27.08 kB / 0.9696 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.8977, allocations: 300.9 kB / 0.9699 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/0.8977, allocations: 44.14 kB / 0.97 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.8979, allocations: 58.12 kB / 0.97 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.898, allocations: 357.5 kB / 0.9704 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005465/0.8985, allocations: 192.7 kB / 0.9706 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006127/0.8992, allocations: 274.4 kB / 0.9708 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.9002, allocations: 412.9 kB / 0.9712 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.9002, allocations: 2 kB / 0.9712 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002518/0.9028, allocations: 0.7232 MB / 0.9719 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.9028, allocations: 6.875 kB / 0.9719 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.9028, allocations: 9.938 kB / 0.9719 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006124/0.9034, allocations: 185.5 kB / 0.9721 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/0.9038, allocations: 74.3 kB / 0.9722 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003526/0.9073, allocations: 2.23 MB / 0.9744 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006569/0.908, allocations: 76.05 kB / 0.9744 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.908, allocations: 8.125 kB / 0.9744 GB, free: 11 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 (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.0002765/0.9083, allocations: 193.5 kB / 0.9746 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.137e-05/0.9084, allocations: 49.59 kB / 0.9747 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.032e-05/0.9085, allocations: 55.86 kB / 0.9747 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.9085, allocations: 2.25 kB / 0.9747 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.9085, allocations: 3.984 kB / 0.9747 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.9085, allocations: 2.281 kB / 0.9747 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00307/0.9116, allocations: 1.125 MB / 0.9758 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.9116, allocations: 7.031 kB / 0.9758 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.9119, allocations: 40.2 kB / 0.9759 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005128/0.9124, allocations: 179.6 kB / 0.976 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.9124, allocations: 0 / 0.976 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003455/0.9159, allocations: 2.201 MB / 0.9782 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.9159, allocations: 0 / 0.9782 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002361/0.9183, allocations: 0.7 MB / 0.9789 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002814/0.9186, allocations: 170.3 kB / 0.979 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.042e-05/0.9186, allocations: 5.375 kB / 0.979 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005611/0.9192, allocations: 50.86 kB / 0.9791 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.425e-05/0.9193, allocations: 18.14 kB / 0.9791 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.65e-05/0.9193, allocations: 11.3 kB / 0.9791 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004822/0.9198, allocations: 397.9 kB / 0.9795 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9198, allocations: 0 / 0.9795 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006861/0.9205, allocations: 177.3 kB / 0.9797 GB, free: 7.18 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 (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.002967/0.9235, allocations: 1.316 MB / 0.981 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001519/0.925, allocations: 0.5267 MB / 0.9815 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.925, allocations: 2.75 kB / 0.9815 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006711/0.9257, allocations: 299.1 kB / 0.9818 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.9271, allocations: 305 kB / 0.982 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.9374, allocations: 5.065 MB / 0.987 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.9378, allocations: 0.8597 MB / 0.9878 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004347/0.9383, allocations: 108.4 kB / 0.9879 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.9385, allocations: 158.6 kB / 0.9881 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/0.9385, allocations: 0 / 0.9881 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04046/0.979, allocations: 16.77 MB / 1.004 GB, free: 9.164 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.82, allocations: 9.438 kB / 1.004 GB, free: 9.164 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)