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.001035/0.001036, 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: 198.4 kB / 16.54 MB, free: 6.672 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.484/1.484, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.84/1.84, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.001602/0.001603, allocations: 65.73 kB / 0.6716 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2942, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.7976/1.092, allocations: 171 MB / 0.9504 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008049/1.1, allocations: 4.259 MB / 0.9546 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/1.101, allocations: 21.41 kB / 0.9546 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001317/1.103, allocations: 340.9 kB / 0.955 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003209/1.106, allocations: 0.9985 MB / 0.9559 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003086/1.109, allocations: 0.8064 MB / 0.9567 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002575/1.112, allocations: 1.282 MB / 0.958 GB, free: 388 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009303/1.113, allocations: 488.3 kB / 0.9584 GB, free: 320 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001643/1.114, allocations: 0.6728 MB / 0.9591 GB, free: 228 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001273/1.116, allocations: 452.1 kB / 0.9595 GB, free: 212 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001199/1.116, allocations: 52.84 kB / 0.9596 GB, free: 212 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002116/1.118, allocations: 0.9066 MB / 0.9605 GB, free: 136 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003038/1.118, allocations: 213.4 kB / 0.9607 GB, free: 132 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004953/1.119, allocations: 327.5 kB / 0.961 GB, free: 128 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002034/1.121, allocations: 1.126 MB / 0.9621 GB, free: 40 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/1.121, allocations: 0 / 0.9621 GB, free: 40 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.884e-06/1.121, allocations: 0 / 0.9621 GB, free: 40 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.005e-05/1.121, allocations: 0 / 0.9621 GB, free: 40 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.001955/1.123, allocations: 0.9529 MB / 0.963 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/1.123, allocations: 8.938 kB / 0.963 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001202/1.123, allocations: 91.58 kB / 0.9631 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00179/1.125, allocations: 259.4 kB / 0.9633 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009923/1.126, allocations: 484.6 kB / 0.9638 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000333/1.126, allocations: 92.23 kB / 0.9639 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.236e-05/1.126, allocations: 39.72 kB / 0.9639 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/1.128, allocations: 0.6261 MB / 0.9645 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/1.128, allocations: 3.312 kB / 0.9645 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.341e-05/1.128, allocations: 18.34 kB / 0.9646 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.527e-05/1.128, allocations: 18.03 kB / 0.9646 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/1.129, allocations: 0.5615 MB / 0.9651 GB, free: 14.95 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.004671/1.134, allocations: 2.281 MB / 0.9674 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/1.135, allocations: 304.3 kB / 0.9676 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006198/1.136, allocations: 169.7 kB / 0.9678 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.796e-05/1.136, allocations: 4.453 kB / 0.9678 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/1.136, allocations: 40.72 kB / 0.9679 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.964e-06/1.136, allocations: 0 / 0.9679 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.005592/1.142, allocations: 1.107 MB / 0.9689 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/1.142, allocations: 82.97 kB / 0.969 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009507/1.143, allocations: 0.5449 MB / 0.9695 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.364e-05/1.143, allocations: 28.42 kB / 0.9696 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/1.143, allocations: 302 kB / 0.9699 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.91e-05/1.143, allocations: 45.5 kB / 0.9699 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/1.143, allocations: 64.3 kB / 0.97 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001611/1.143, allocations: 352.2 kB / 0.9703 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006374/1.144, allocations: 192.9 kB / 0.9705 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007021/1.145, allocations: 280.3 kB / 0.9708 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/1.146, allocations: 418.6 kB / 0.9712 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/1.146, allocations: 4 kB / 0.9712 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002971/1.149, allocations: 0.7418 MB / 0.9719 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/1.149, allocations: 5.594 kB / 0.9719 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/1.149, allocations: 1.5 kB / 0.9719 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007085/1.15, allocations: 188.4 kB / 0.9721 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004122/1.15, allocations: 76.61 kB / 0.9721 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004253/1.154, allocations: 2.231 MB / 0.9743 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008645/1.155, allocations: 81.06 kB / 0.9744 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/1.155, allocations: 14.91 kB / 0.9744 GB, free: 10.87 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.0003719/1.156, allocations: 194.2 kB / 0.9746 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/1.156, allocations: 53.12 kB / 0.9746 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.556e-05/1.156, allocations: 51.98 kB / 0.9747 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/1.156, allocations: 0 / 0.9747 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.156, allocations: 1.438 kB / 0.9747 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/1.156, allocations: 6.719 kB / 0.9747 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003316/1.159, allocations: 1.134 MB / 0.9758 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/1.159, allocations: 2.531 kB / 0.9758 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/1.16, allocations: 46.3 kB / 0.9759 GB, free: 10 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005437/1.16, allocations: 179.3 kB / 0.976 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/1.16, allocations: 6.188 kB / 0.976 GB, free: 9.914 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004447/1.165, allocations: 2.193 MB / 0.9782 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.165, allocations: 0 / 0.9782 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002978/1.168, allocations: 0.7188 MB / 0.9789 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003571/1.168, allocations: 170 kB / 0.979 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.577e-05/1.168, allocations: 6.844 kB / 0.979 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005963/1.169, allocations: 54.44 kB / 0.9791 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/1.169, allocations: 8.703 kB / 0.9791 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.079e-05/1.169, allocations: 15.73 kB / 0.9791 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000574/1.17, allocations: 387.5 kB / 0.9795 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.17, allocations: 0 / 0.9795 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007957/1.17, allocations: 191.2 kB / 0.9797 GB, free: 7.133 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.003517/1.174, allocations: 1.328 MB / 0.981 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001924/1.176, allocations: 0.5321 MB / 0.9815 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.176, allocations: 0 / 0.9815 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007696/1.177, allocations: 308.4 kB / 0.9818 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/1.178, allocations: 310.3 kB / 0.9821 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/1.191, allocations: 5.17 MB / 0.9871 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007857/1.192, allocations: 0.8619 MB / 0.988 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006078/1.192, allocations: 102.7 kB / 0.9881 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/1.193, allocations: 162.8 kB / 0.9882 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of SimCode: time 1.393e-06/1.193, allocations: 0 / 0.9882 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04406/1.237, allocations: 16.75 MB / 1.005 GB, free: 9 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/12.57, allocations: 14.95 kB / 1.005 GB, free: 8.996 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)