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.001481/0.001481, 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.001513/0.001513, allocations: 191.5 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.39/1.39, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002339/0.002339, allocations: 275.1 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 1.035/1.035, allocations: 178.5 MB / 0.5073 GB, free: 4.566 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002621/0.002621, allocations: 94.27 kB / 0.6065 GB, free: 24.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1645, allocations: 89.15 MB / 0.6936 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.4669/0.6314, allocations: 171 MB / 0.8606 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006368/0.6379, allocations: 4.293 MB / 0.8648 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005859/0.6385, allocations: 19.31 kB / 0.8648 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009469/0.6394, allocations: 347.8 kB / 0.8651 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00222/0.6417, allocations: 1.005 MB / 0.8661 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.6437, allocations: 0.8163 MB / 0.8669 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001453/0.6452, allocations: 1.288 MB / 0.8681 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006182/0.6458, allocations: 495.9 kB / 0.8686 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001122/0.6469, allocations: 0.6668 MB / 0.8693 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009175/0.6479, allocations: 446.7 kB / 0.8697 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.329e-05/0.648, allocations: 56.56 kB / 0.8697 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.6495, allocations: 0.9071 MB / 0.8706 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000226/0.6498, allocations: 216.1 kB / 0.8708 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003515/0.6501, allocations: 334.1 kB / 0.8712 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001513/0.6516, allocations: 1.126 MB / 0.8723 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6517, allocations: 0 / 0.8723 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6517, allocations: 3.312 kB / 0.8723 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.6517, allocations: 0 / 0.8723 GB, free: 2.496 MB / 0.5919 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.001647/0.6533, allocations: 0.9434 MB / 0.8732 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.6534, allocations: 13.5 kB / 0.8732 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001001/0.6535, allocations: 82.09 kB / 0.8733 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/0.6551, allocations: 266.8 kB / 0.8735 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008926/0.656, allocations: 485.4 kB / 0.874 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003278/0.6564, allocations: 95.58 kB / 0.8741 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.719e-05/0.6564, allocations: 37.22 kB / 0.8741 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.6577, allocations: 0.6196 MB / 0.8747 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.6578, allocations: 0 / 0.8747 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.748e-05/0.6578, allocations: 23.41 kB / 0.8747 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.762e-05/0.6579, allocations: 15.84 kB / 0.8748 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.6593, allocations: 0.5615 MB / 0.8753 GB, free: 412 kB / 0.5919 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.004134/0.6635, allocations: 2.288 MB / 0.8775 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009992/0.6645, allocations: 302.2 kB / 0.8778 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005761/0.6651, allocations: 169.4 kB / 0.878 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.6651, allocations: 4 kB / 0.878 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.6651, allocations: 43.08 kB / 0.878 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.6651, allocations: 0 / 0.878 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.005346/0.6705, allocations: 1.102 MB / 0.8791 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.6706, allocations: 77.33 kB / 0.8792 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006846/0.6713, allocations: 0.5573 MB / 0.8797 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.477e-05/0.6713, allocations: 29.7 kB / 0.8798 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.6715, allocations: 307.5 kB / 0.8801 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.012e-05/0.6716, allocations: 39.44 kB / 0.8801 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.6717, allocations: 61.61 kB / 0.8801 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.6719, allocations: 358.8 kB / 0.8805 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006572/0.6726, allocations: 191.8 kB / 0.8807 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007166/0.6733, allocations: 279.7 kB / 0.8809 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/0.6746, allocations: 415.7 kB / 0.8813 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.6746, allocations: 0 / 0.8813 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00284/0.6774, allocations: 0.7465 MB / 0.8821 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.6775, allocations: 4 kB / 0.8821 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.6775, allocations: 5.484 kB / 0.8821 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006875/0.6782, allocations: 176.8 kB / 0.8822 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/0.6786, allocations: 79.88 kB / 0.8823 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004424/0.683, allocations: 2.232 MB / 0.8845 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007522/0.6838, allocations: 75.47 kB / 0.8846 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.6838, allocations: 9.812 kB / 0.8846 GB, free: 7.422 MB / 0.6075 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.0003094/0.6842, allocations: 195.1 kB / 0.8848 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.6843, allocations: 59.28 kB / 0.8848 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.6844, allocations: 51.97 kB / 0.8849 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.6844, allocations: 0 / 0.8849 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.6844, allocations: 0 / 0.8849 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.6844, allocations: 0 / 0.8849 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003257/0.6877, allocations: 1.141 MB / 0.886 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.6877, allocations: 0 / 0.886 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/0.688, allocations: 48 kB / 0.886 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005574/0.6885, allocations: 176.6 kB / 0.8862 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.6886, allocations: 12 kB / 0.8862 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003848/0.6924, allocations: 2.194 MB / 0.8884 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6924, allocations: 0 / 0.8884 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002722/0.6952, allocations: 0.708 MB / 0.889 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002886/0.6955, allocations: 164.5 kB / 0.8892 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.426e-05/0.6955, allocations: 4 kB / 0.8892 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006001/0.6962, allocations: 55.88 kB / 0.8893 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.385e-05/0.6962, allocations: 7.984 kB / 0.8893 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.204e-05/0.6963, allocations: 16.36 kB / 0.8893 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005159/0.6968, allocations: 398.8 kB / 0.8897 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.983e-06/0.6968, allocations: 0 / 0.8897 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000673/0.6975, allocations: 183.6 kB / 0.8898 GB, free: 1.77 MB / 0.6075 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.003361/0.7009, allocations: 1.336 MB / 0.8911 GB, free: 416 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001757/0.7026, allocations: 0.5296 MB / 0.8917 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.7027, allocations: 0 / 0.8917 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000798/0.7035, allocations: 314.9 kB / 0.892 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.705, allocations: 308.8 kB / 0.8923 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/0.717, allocations: 5.185 MB / 0.8973 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005251/0.7175, allocations: 0.8698 MB / 0.8982 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004855/0.718, allocations: 100.5 kB / 0.8983 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002321/0.7183, allocations: 163.4 kB / 0.8984 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of SimCode: time 9.32e-07/0.7183, allocations: 0 / 0.8984 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04794/0.7662, allocations: 16.76 MB / 0.9148 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.92, allocations: 4.5 kB / 0.9148 GB, free: 8.383 MB / 0.6387 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)