Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001597/0.001597, allocations: 108 kB / 15.61 MB, free: 152 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.001895/0.001895, allocations: 192.8 kB / 16.53 MB, free: 6.664 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9741/0.9741, allocations: 143 MB / 433.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.89 kB / 0.5143 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1395, allocations: 82.04 MB / 0.5944 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.3985/0.538, allocations: 171 MB / 0.7614 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005932/0.544, allocations: 4.282 MB / 0.7656 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005578/0.5446, allocations: 23.88 kB / 0.7656 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009457/0.5455, allocations: 350 kB / 0.766 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002181/0.5478, allocations: 1.003 MB / 0.7669 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001867/0.5497, allocations: 0.7949 MB / 0.7677 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001419/0.5511, allocations: 1.296 MB / 0.769 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006739/0.5518, allocations: 488.3 kB / 0.7694 GB, free: 10 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.5529, allocations: 0.6615 MB / 0.7701 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.554, allocations: 465.9 kB / 0.7705 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.5541, allocations: 52 kB / 0.7706 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001449/0.5555, allocations: 0.9043 MB / 0.7715 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002196/0.5558, allocations: 207.5 kB / 0.7717 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003525/0.5561, allocations: 334.5 kB / 0.772 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.5575, allocations: 1.145 MB / 0.7731 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.5575, allocations: 3.938 kB / 0.7731 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5575, allocations: 0 / 0.7731 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.488e-05/0.5575, allocations: 0 / 0.7731 GB, free: 6.242 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.001641/0.5592, allocations: 0.9621 MB / 0.774 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.5592, allocations: 8.031 kB / 0.774 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.5593, allocations: 86.52 kB / 0.7741 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/0.5611, allocations: 259.1 kB / 0.7744 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007929/0.5619, allocations: 489.3 kB / 0.7748 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003599/0.5622, allocations: 88.94 kB / 0.7749 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.036e-05/0.5623, allocations: 36 kB / 0.775 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.5636, allocations: 0.6224 MB / 0.7756 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.5636, allocations: 10.36 kB / 0.7756 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.834e-05/0.5637, allocations: 20 kB / 0.7756 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-05/0.5637, allocations: 17 kB / 0.7756 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.5652, allocations: 0.562 MB / 0.7762 GB, free: 2.98 MB / 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.004004/0.5692, allocations: 2.288 MB / 0.7784 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.5703, allocations: 286.3 kB / 0.7787 GB, free: 284 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006264/0.571, allocations: 181.2 kB / 0.7788 GB, free: 100 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.571, allocations: 0 / 0.7788 GB, free: 100 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.571, allocations: 34.56 kB / 0.7789 GB, free: 56 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.571, allocations: 0 / 0.7789 GB, free: 56 kB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.005618/0.5767, allocations: 1.112 MB / 0.78 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.5767, allocations: 85.03 kB / 0.78 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006068/0.5773, allocations: 0.5535 MB / 0.7806 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.5774, allocations: 33.69 kB / 0.7806 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.5776, allocations: 303.4 kB / 0.7809 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.5776, allocations: 43.45 kB / 0.7809 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.5778, allocations: 57.61 kB / 0.781 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5779, allocations: 354.8 kB / 0.7813 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006785/0.5786, allocations: 197.3 kB / 0.7815 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007232/0.5793, allocations: 272.4 kB / 0.7818 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.5806, allocations: 415.4 kB / 0.7822 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.5806, allocations: 4 kB / 0.7822 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002872/0.5835, allocations: 0.7433 MB / 0.7829 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.5835, allocations: 8 kB / 0.7829 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.5836, allocations: 4 kB / 0.7829 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006365/0.5842, allocations: 176.8 kB / 0.7831 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000404/0.5846, allocations: 75.88 kB / 0.7832 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004029/0.5887, allocations: 2.236 MB / 0.7854 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006183/0.5893, allocations: 79.45 kB / 0.7854 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.5893, allocations: 11.98 kB / 0.7854 GB, free: 9.047 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.0002184/0.5895, allocations: 189.8 kB / 0.7856 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.5897, allocations: 47.44 kB / 0.7857 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.5898, allocations: 59.97 kB / 0.7857 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.5898, allocations: 0 / 0.7857 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.5898, allocations: 0 / 0.7857 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.5898, allocations: 0 / 0.7857 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003253/0.5931, allocations: 1.145 MB / 0.7868 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.5931, allocations: 4.062 kB / 0.7868 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.5933, allocations: 35.95 kB / 0.7869 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005681/0.5939, allocations: 188.7 kB / 0.7871 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.594, allocations: 7.125 kB / 0.7871 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003653/0.5976, allocations: 2.179 MB / 0.7892 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5976, allocations: 0 / 0.7892 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002708/0.6003, allocations: 0.7128 MB / 0.7899 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002042/0.6006, allocations: 168.5 kB / 0.7901 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.74e-05/0.6006, allocations: 0.875 kB / 0.7901 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006318/0.6013, allocations: 62.88 kB / 0.7901 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.6013, allocations: 15.92 kB / 0.7901 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.056e-05/0.6014, allocations: 11.98 kB / 0.7901 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004223/0.6018, allocations: 394.8 kB / 0.7905 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6018, allocations: 0 / 0.7905 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005977/0.6024, allocations: 187.7 kB / 0.7907 GB, free: 3.402 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.003244/0.6057, allocations: 1.327 MB / 0.792 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001702/0.6074, allocations: 0.5394 MB / 0.7925 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6074, allocations: 0 / 0.7925 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008155/0.6082, allocations: 302.6 kB / 0.7928 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/0.6097, allocations: 316.4 kB / 0.7931 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/0.6217, allocations: 5.172 MB / 0.7982 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/0.6222, allocations: 0.862 MB / 0.799 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004566/0.6227, allocations: 110.3 kB / 0.7991 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.6229, allocations: 163.4 kB / 0.7993 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of SimCode: time 2.6e-07/0.6229, allocations: 0 / 0.7993 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04034/0.6633, allocations: 16.79 MB / 0.8157 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/11.18, allocations: 15.42 kB / 0.8157 GB, free: 10.02 MB / 0.6387 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.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 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)