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.001055/0.001055, 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.001022/0.001022, allocations: 195.3 kB / 16.53 MB, free: 6.391 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.323/1.323, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002079/0.002079, allocations: 290.7 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9433/0.9433, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 94.39 kB / 0.5953 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1328, allocations: 86.98 MB / 0.6803 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.4268/0.5596, allocations: 171 MB / 0.8472 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005885/0.5655, allocations: 4.289 MB / 0.8514 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005578/0.5661, allocations: 25.81 kB / 0.8515 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009093/0.567, allocations: 346.8 kB / 0.8518 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002165/0.5692, allocations: 0.9997 MB / 0.8528 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001816/0.5711, allocations: 0.8076 MB / 0.8536 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001227/0.5723, allocations: 1.292 MB / 0.8548 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005484/0.5729, allocations: 480 kB / 0.8553 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.5739, allocations: 0.6776 MB / 0.8559 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008581/0.5748, allocations: 452.7 kB / 0.8564 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.032e-05/0.5749, allocations: 50.78 kB / 0.8564 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.5762, allocations: 0.9099 MB / 0.8573 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.5764, allocations: 210.1 kB / 0.8575 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000281/0.5767, allocations: 329.4 kB / 0.8578 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.5779, allocations: 1.123 MB / 0.8589 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.5779, allocations: 0 / 0.8589 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5779, allocations: 0 / 0.8589 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.677e-06/0.5779, allocations: 0 / 0.8589 GB, free: 7.395 MB / 0.5762 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.001402/0.5794, allocations: 0.9513 MB / 0.8598 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.5794, allocations: 10.44 kB / 0.8599 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.126e-05/0.5795, allocations: 81.53 kB / 0.8599 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/0.5811, allocations: 267.4 kB / 0.8602 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007062/0.5818, allocations: 496.5 kB / 0.8607 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000307/0.5821, allocations: 87.8 kB / 0.8607 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.414e-05/0.5822, allocations: 41.25 kB / 0.8608 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.5833, allocations: 0.6197 MB / 0.8614 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.5833, allocations: 0 / 0.8614 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.536e-05/0.5834, allocations: 23.62 kB / 0.8614 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.025e-05/0.5834, allocations: 15.88 kB / 0.8614 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.5848, allocations: 0.5597 MB / 0.862 GB, free: 5.297 MB / 0.5762 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.003617/0.5884, allocations: 2.283 MB / 0.8642 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009512/0.5894, allocations: 290.9 kB / 0.8645 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005584/0.5899, allocations: 175.2 kB / 0.8646 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.59, allocations: 3.062 kB / 0.8647 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.59, allocations: 42.44 kB / 0.8647 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.59, allocations: 2.438 kB / 0.8647 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.005089/0.5951, allocations: 1.116 MB / 0.8658 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.5952, allocations: 79.2 kB / 0.8659 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005378/0.5957, allocations: 0.5567 MB / 0.8664 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.5958, allocations: 25.7 kB / 0.8664 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.5959, allocations: 304.1 kB / 0.8667 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.596, allocations: 34.83 kB / 0.8668 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.5961, allocations: 60.92 kB / 0.8668 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.5962, allocations: 359.2 kB / 0.8672 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006065/0.5968, allocations: 196.5 kB / 0.8673 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006407/0.5975, allocations: 278.4 kB / 0.8676 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.5986, allocations: 414.9 kB / 0.868 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.5987, allocations: 2.469 kB / 0.868 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002578/0.6012, allocations: 0.7371 MB / 0.8687 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.6013, allocations: 9.688 kB / 0.8687 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.6013, allocations: 0 / 0.8687 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005929/0.6019, allocations: 183.2 kB / 0.8689 GB, free: 424 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003724/0.6023, allocations: 74.62 kB / 0.869 GB, free: 400 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003699/0.606, allocations: 2.24 MB / 0.8712 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005999/0.6066, allocations: 80.66 kB / 0.8712 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.6066, allocations: 14.12 kB / 0.8713 GB, free: 14.43 MB / 0.5919 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.0002155/0.6068, allocations: 189.7 kB / 0.8714 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.439e-05/0.6069, allocations: 52.22 kB / 0.8715 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.676e-05/0.607, allocations: 52.97 kB / 0.8715 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.6071, allocations: 6.812 kB / 0.8715 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.6071, allocations: 0 / 0.8715 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.6071, allocations: 0 / 0.8715 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003101/0.6102, allocations: 1.133 MB / 0.8726 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.6102, allocations: 2.656 kB / 0.8727 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/0.6105, allocations: 44.61 kB / 0.8727 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005085/0.611, allocations: 183.2 kB / 0.8729 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.611, allocations: 8 kB / 0.8729 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003426/0.6144, allocations: 2.181 MB / 0.875 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.6145, allocations: 10.67 kB / 0.875 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/0.6169, allocations: 0.7092 MB / 0.8757 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002253/0.6172, allocations: 170.7 kB / 0.8759 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.233e-05/0.6173, allocations: 2.375 kB / 0.8759 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005937/0.6179, allocations: 61.73 kB / 0.8759 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.6179, allocations: 9.359 kB / 0.8759 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.286e-05/0.618, allocations: 18.08 kB / 0.876 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004015/0.6184, allocations: 390.3 kB / 0.8763 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6184, allocations: 0 / 0.8763 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005781/0.619, allocations: 184 kB / 0.8765 GB, free: 10.53 MB / 0.5919 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.003045/0.622, allocations: 1.332 MB / 0.8778 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001594/0.6236, allocations: 0.5307 MB / 0.8783 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.6236, allocations: 4.062 kB / 0.8783 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007229/0.6244, allocations: 312 kB / 0.8786 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.6257, allocations: 307.9 kB / 0.8789 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/0.6366, allocations: 5.176 MB / 0.884 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.637, allocations: 0.8581 MB / 0.8848 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004147/0.6375, allocations: 112.9 kB / 0.8849 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.6377, allocations: 160.3 kB / 0.8851 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/0.6377, allocations: 2.625 kB / 0.8851 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0393/0.677, allocations: 16.78 MB / 0.9015 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/11.24, allocations: 15.25 kB / 0.9015 GB, free: 4.309 MB / 0.6075 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)