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.005441/0.005441, allocations: 98.23 kB / 15.73 MB, free: 6.004 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.001095/0.001096, allocations: 193.3 kB / 16.67 MB, free: 5.934 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.9364/0.9364, allocations: 143 MB / 433.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.91 kB / 0.595 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3739, allocations: 82.04 MB / 0.6751 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1717/0.5456, allocations: 171 MB / 0.8422 GB, free: 10.74 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.006795/0.5524, allocations: 4.301 MB / 0.8464 GB, free: 6.43 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008577/0.5533, allocations: 23.88 kB / 0.8464 GB, free: 6.406 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.5544, allocations: 366 kB / 0.8467 GB, free: 6.047 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002565/0.557, allocations: 1.031 MB / 0.8477 GB, free: 5.012 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002071/0.5591, allocations: 0.8198 MB / 0.8485 GB, free: 4.199 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001655/0.5608, allocations: 1.302 MB / 0.8498 GB, free: 2.895 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007205/0.5615, allocations: 487.2 kB / 0.8503 GB, free: 2.414 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001341/0.5629, allocations: 0.6889 MB / 0.851 GB, free: 1.723 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001281/0.5642, allocations: 452.4 kB / 0.8514 GB, free: 1.281 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.5643, allocations: 52 kB / 0.8514 GB, free: 1.23 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.566, allocations: 0.916 MB / 0.8523 GB, free: 320 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002502/0.5662, allocations: 215.4 kB / 0.8525 GB, free: 104 kB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005579/0.5668, allocations: 334.6 kB / 0.8529 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002075/0.5689, allocations: 1.156 MB / 0.854 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.5689, allocations: 4 kB / 0.854 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5689, allocations: 4 kB / 0.854 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.911e-05/0.5689, allocations: 0 / 0.854 GB, free: 14.6 MB / 0.6856 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.002126/0.5711, allocations: 0.965 MB / 0.8549 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.5711, allocations: 16.02 kB / 0.855 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001224/0.5712, allocations: 82.53 kB / 0.855 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001761/0.573, allocations: 263.3 kB / 0.8553 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.5741, allocations: 0.5017 MB / 0.8558 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.057e-05/0.5741, allocations: 33 kB / 0.8558 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.852e-05/0.5742, allocations: 39.94 kB / 0.8558 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.5755, allocations: 0.6224 MB / 0.8564 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.5755, allocations: 0 / 0.8564 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-05/0.5756, allocations: 20 kB / 0.8565 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.045e-05/0.5756, allocations: 17 kB / 0.8565 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.577, allocations: 0.5464 MB / 0.857 GB, free: 11.38 MB / 0.6856 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.004078/0.5811, allocations: 2.277 MB / 0.8592 GB, free: 8.973 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009273/0.5821, allocations: 282.3 kB / 0.8595 GB, free: 8.688 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005426/0.5826, allocations: 168.7 kB / 0.8597 GB, free: 8.52 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.5827, allocations: 7.984 kB / 0.8597 GB, free: 8.512 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.5827, allocations: 30.56 kB / 0.8597 GB, free: 8.473 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.5827, allocations: 0 / 0.8597 GB, free: 8.473 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.005338/0.588, allocations: 1.092 MB / 0.8608 GB, free: 7.352 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.369e-05/0.5882, allocations: 77.11 kB / 0.8608 GB, free: 7.258 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008716/0.5891, allocations: 0.5573 MB / 0.8614 GB, free: 6.691 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.768e-05/0.5891, allocations: 29.7 kB / 0.8614 GB, free: 6.656 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/0.5894, allocations: 304.1 kB / 0.8617 GB, free: 6.355 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 6.312e-05/0.5895, allocations: 51.64 kB / 0.8618 GB, free: 6.305 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.5896, allocations: 57.64 kB / 0.8618 GB, free: 6.242 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.5898, allocations: 354.8 kB / 0.8622 GB, free: 5.887 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006301/0.5905, allocations: 191.8 kB / 0.8623 GB, free: 5.699 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006905/0.5912, allocations: 271.2 kB / 0.8626 GB, free: 5.402 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.5924, allocations: 396.2 kB / 0.863 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.5924, allocations: 4 kB / 0.863 GB, free: 4.98 MB / 0.6856 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002708/0.5951, allocations: 0.7339 MB / 0.8637 GB, free: 4.238 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.5951, allocations: 4 kB / 0.8637 GB, free: 4.234 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.5951, allocations: 4 kB / 0.8637 GB, free: 4.23 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006538/0.5958, allocations: 180.8 kB / 0.8639 GB, free: 4.051 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003709/0.5962, allocations: 71.89 kB / 0.8639 GB, free: 3.98 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003756/0.6, allocations: 2.236 MB / 0.8661 GB, free: 1.613 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006233/0.6006, allocations: 79.56 kB / 0.8662 GB, free: 1.535 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.6006, allocations: 12 kB / 0.8662 GB, free: 1.523 MB / 0.6856 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.000278/0.6009, allocations: 185.8 kB / 0.8664 GB, free: 1.332 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.601, allocations: 51.72 kB / 0.8664 GB, free: 1.281 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.6012, allocations: 51.97 kB / 0.8665 GB, free: 1.23 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.6012, allocations: 8 kB / 0.8665 GB, free: 1.223 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.6012, allocations: 3.938 kB / 0.8665 GB, free: 1.219 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.6012, allocations: 3.938 kB / 0.8665 GB, free: 1.215 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003053/0.6042, allocations: 1.137 MB / 0.8676 GB, free: 12 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6043, allocations: 0 / 0.8676 GB, free: 12 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2971/0.9013, allocations: 30.78 kB / 0.8676 GB, free: 187.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006269/0.902, allocations: 183.8 kB / 0.8678 GB, free: 187.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/0.902, allocations: 8.125 kB / 0.8678 GB, free: 187.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003423/0.9055, allocations: 2.184 MB / 0.87 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.9055, allocations: 0.9062 kB / 0.87 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/0.908, allocations: 0.7064 MB / 0.8707 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000262/0.9083, allocations: 172.3 kB / 0.8708 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.476e-05/0.9084, allocations: 2.469 kB / 0.8708 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005861/0.909, allocations: 54.52 kB / 0.8709 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.784e-05/0.909, allocations: 10.06 kB / 0.8709 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/0.9091, allocations: 16.42 kB / 0.8709 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004571/0.9095, allocations: 398.1 kB / 0.8713 GB, free: 185.9 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9095, allocations: 0 / 0.8713 GB, free: 185.9 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0006287/0.9102, allocations: 180.9 kB / 0.8714 GB, free: 185.9 MB / 0.6856 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.002957/0.9131, allocations: 1.325 MB / 0.8727 GB, free: 185.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001629/0.9148, allocations: 0.5265 MB / 0.8733 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.9148, allocations: 1.125 kB / 0.8733 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007195/0.9155, allocations: 300.1 kB / 0.8735 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/0.917, allocations: 306.1 kB / 0.8738 GB, free: 184.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/0.9287, allocations: 5.082 MB / 0.8788 GB, free: 182.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.9291, allocations: 0.8618 MB / 0.8796 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005208/0.9296, allocations: 103.3 kB / 0.8797 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.9299, allocations: 165.3 kB / 0.8799 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of SimCode: time 8.31e-07/0.9299, allocations: 0.7812 kB / 0.8799 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0438/0.9737, allocations: 16.94 MB / 0.8964 GB, free: 172.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/12.38, allocations: 10.94 kB / 0.8965 GB, free: 172.5 MB / 0.6856 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)