Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_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.004853/0.004853, allocations: 94.8 kB / 15.73 MB, free: 6.047 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.00124/0.00124, allocations: 206.4 kB / 16.68 MB, free: 5.973 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002381/0.00238, allocations: 274.6 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.005/1.005, allocations: 178.6 MB / 0.5074 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002576/0.002576, allocations: 103.8 kB / 0.6943 GB, free: 3.625 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4535/0.4561, allocations: 89.14 MB / 0.7813 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1925/0.6486, allocations: 171 MB / 0.9483 GB, free: 3.676 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.006401/0.6551, allocations: 4.292 MB / 0.9525 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006198/0.6557, allocations: 19.88 kB / 0.9525 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000986/0.6567, allocations: 350 kB / 0.9528 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002221/0.659, allocations: 0.9993 MB / 0.9538 GB, free: 14 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001951/0.661, allocations: 0.812 MB / 0.9546 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001587/0.6626, allocations: 1.305 MB / 0.9559 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006266/0.6632, allocations: 483.1 kB / 0.9563 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.6644, allocations: 0.6708 MB / 0.957 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009839/0.6654, allocations: 448 kB / 0.9574 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.269e-05/0.6655, allocations: 52 kB / 0.9575 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.667, allocations: 0.9121 MB / 0.9584 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002155/0.6672, allocations: 215.4 kB / 0.9586 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003288/0.6676, allocations: 334.5 kB / 0.9589 GB, free: 8.801 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.6691, allocations: 1.137 MB / 0.96 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.6691, allocations: 4 kB / 0.96 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6691, allocations: 4 kB / 0.96 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.6691, allocations: 0 / 0.96 GB, free: 7.652 MB / 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.001589/0.6707, allocations: 0.9688 MB / 0.961 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.6708, allocations: 12.03 kB / 0.961 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.754e-05/0.6709, allocations: 86.52 kB / 0.961 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00155/0.6724, allocations: 259.3 kB / 0.9613 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008327/0.6733, allocations: 0.4939 MB / 0.9618 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.353e-05/0.6733, allocations: 33 kB / 0.9618 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-05/0.6734, allocations: 40 kB / 0.9618 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.6746, allocations: 0.6224 MB / 0.9625 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.6746, allocations: 0 / 0.9625 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.667e-05/0.6747, allocations: 24 kB / 0.9625 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.943e-05/0.6747, allocations: 20.98 kB / 0.9625 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.6761, allocations: 0.5503 MB / 0.963 GB, free: 4.426 MB / 0.7169 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.003789/0.6799, allocations: 2.265 MB / 0.9652 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009365/0.6809, allocations: 278.3 kB / 0.9655 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005412/0.6814, allocations: 164.7 kB / 0.9657 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.6814, allocations: 8 kB / 0.9657 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.6815, allocations: 42.5 kB / 0.9657 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.213e-06/0.6815, allocations: 0 / 0.9657 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.004998/0.6865, allocations: 1.088 MB / 0.9668 GB, free: 420 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.6866, allocations: 85.09 kB / 0.9669 GB, free: 316 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006404/0.6872, allocations: 0.5534 MB / 0.9674 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.6872, allocations: 29.7 kB / 0.9674 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.6875, allocations: 308.1 kB / 0.9677 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.32e-05/0.6875, allocations: 43.64 kB / 0.9678 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.6876, allocations: 57.66 kB / 0.9678 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.6878, allocations: 358.8 kB / 0.9682 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005955/0.6884, allocations: 187.8 kB / 0.9683 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006575/0.6891, allocations: 266.5 kB / 0.9686 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.6902, allocations: 411.2 kB / 0.969 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.6902, allocations: 0 / 0.969 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002568/0.6928, allocations: 0.7203 MB / 0.9697 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.6928, allocations: 7.984 kB / 0.9697 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.6929, allocations: 4 kB / 0.9697 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006076/0.6935, allocations: 188.7 kB / 0.9699 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/0.6938, allocations: 75.94 kB / 0.97 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003917/0.6978, allocations: 2.24 MB / 0.9721 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005846/0.6984, allocations: 79.64 kB / 0.9722 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.6984, allocations: 16 kB / 0.9722 GB, free: 10.56 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.0002729/0.6987, allocations: 193.7 kB / 0.9724 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.963e-05/0.6988, allocations: 51.72 kB / 0.9725 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.254e-05/0.6989, allocations: 51.92 kB / 0.9725 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.6989, allocations: 0 / 0.9725 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.6989, allocations: 7.984 kB / 0.9725 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.6989, allocations: 0 / 0.9725 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003051/0.702, allocations: 1.129 MB / 0.9736 GB, free: 9.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.702, allocations: 0 / 0.9736 GB, free: 9.059 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.7022, allocations: 44.02 kB / 0.9737 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005406/0.7028, allocations: 180.7 kB / 0.9738 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.7028, allocations: 7.984 kB / 0.9738 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003601/0.7064, allocations: 2.183 MB / 0.976 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7064, allocations: 0 / 0.976 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002457/0.7089, allocations: 0.7119 MB / 0.9767 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002498/0.7092, allocations: 172.7 kB / 0.9768 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.63e-05/0.7092, allocations: 0 / 0.9768 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005497/0.7098, allocations: 51.89 kB / 0.9769 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.7099, allocations: 11.98 kB / 0.9769 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-05/0.7099, allocations: 19.98 kB / 0.9769 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004781/0.7104, allocations: 390.8 kB / 0.9773 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7104, allocations: 0 / 0.9773 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006098/0.711, allocations: 183.8 kB / 0.9775 GB, free: 4.934 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.003146/0.7142, allocations: 1.32 MB / 0.9788 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001606/0.7158, allocations: 0.52 MB / 0.9793 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7158, allocations: 0 / 0.9793 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007437/0.7166, allocations: 310.8 kB / 0.9796 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.718, allocations: 303 kB / 0.9799 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.7294, allocations: 5.084 MB / 0.9848 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/0.7299, allocations: 0.866 MB / 0.9857 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004622/0.7304, allocations: 96.52 kB / 0.9858 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/0.7307, allocations: 163.4 kB / 0.9859 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of SimCode: time 7.32e-07/0.7307, allocations: 4 kB / 0.9859 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04841/0.7791, allocations: 16.91 MB / 1.002 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.43, allocations: 13.62 kB / 1.002 GB, free: 11.54 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_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_MixingVolumePrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)