Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_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.0007697/0.0007697, allocations: 92.86 kB / 15.7 MB, free: 472 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.0007849/0.000785, allocations: 171.6 kB / 16.58 MB, free: 5.945 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.157/1.157, allocations: 223.3 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5883/0.5883, allocations: 113.7 MB / 405.5 MB, free: 4.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002634/0.0002634, allocations: 13.12 kB / 493.1 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1187, allocations: 77.11 MB / 0.5569 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.3618/0.4806, allocations: 155.3 MB / 0.7086 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004952/0.4855, allocations: 4.008 MB / 0.7125 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003377/0.4859, allocations: 23.81 kB / 0.7125 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005956/0.4865, allocations: 226.6 kB / 0.7127 GB, free: 11.28 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001463/0.488, allocations: 0.7463 MB / 0.7135 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.4893, allocations: 0.6152 MB / 0.7141 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001382/0.4907, allocations: 1.516 MB / 0.7156 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004363/0.4912, allocations: 356.3 kB / 0.7159 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008416/0.492, allocations: 0.5563 MB / 0.7164 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005392/0.4926, allocations: 434.4 kB / 0.7169 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.241e-05/0.4926, allocations: 24 kB / 0.7169 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009488/0.4936, allocations: 0.6158 MB / 0.7175 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.4938, allocations: 183.4 kB / 0.7177 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.4939, allocations: 149.4 kB / 0.7178 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007845/0.4947, allocations: 0.795 MB / 0.7186 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4947, allocations: 0 / 0.7186 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4947, allocations: 0 / 0.7186 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.4947, allocations: 0 / 0.7186 GB, free: 5.309 MB / 0.5294 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.001312/0.496, allocations: 0.8423 MB / 0.7194 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.4961, allocations: 12.03 kB / 0.7194 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.818e-05/0.4962, allocations: 88.08 kB / 0.7195 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/0.4976, allocations: 283.1 kB / 0.7198 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006887/0.4983, allocations: 473.7 kB / 0.7202 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002693/0.4985, allocations: 96.94 kB / 0.7203 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.595e-05/0.4986, allocations: 44 kB / 0.7203 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.4997, allocations: 0.6225 MB / 0.721 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.4997, allocations: 3.938 kB / 0.721 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.045e-05/0.4998, allocations: 31.98 kB / 0.721 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.914e-05/0.4998, allocations: 24.92 kB / 0.721 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.501, allocations: 0.5816 MB / 0.7216 GB, free: 2.109 MB / 0.5294 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.003363/0.5044, allocations: 2.304 MB / 0.7238 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008164/0.5052, allocations: 314.3 kB / 0.7241 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004684/0.5057, allocations: 184.7 kB / 0.7243 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.5058, allocations: 3.984 kB / 0.7243 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.5058, allocations: 46.5 kB / 0.7244 GB, free: 15.11 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.223e-06/0.5058, allocations: 0 / 0.7244 GB, free: 15.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.004279/0.5101, allocations: 1.182 MB / 0.7255 GB, free: 13.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.5101, allocations: 85.05 kB / 0.7256 GB, free: 13.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005413/0.5107, allocations: 0.5418 MB / 0.7261 GB, free: 13.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.5107, allocations: 29.7 kB / 0.7261 GB, free: 13.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.5109, allocations: 307.4 kB / 0.7264 GB, free: 12.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.511, allocations: 35.48 kB / 0.7265 GB, free: 12.87 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.128e-05/0.511, allocations: 8 kB / 0.7265 GB, free: 12.86 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.5111, allocations: 366.7 kB / 0.7268 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000529/0.5116, allocations: 207.8 kB / 0.727 GB, free: 12.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005408/0.5122, allocations: 285.3 kB / 0.7273 GB, free: 11.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005143/0.5127, allocations: 210.7 kB / 0.7275 GB, free: 11.78 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5127, allocations: 7.938 kB / 0.7275 GB, free: 11.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002206/0.5149, allocations: 0.7748 MB / 0.7283 GB, free: 10.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.515, allocations: 12.03 kB / 0.7283 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.515, allocations: 5.266 kB / 0.7283 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005472/0.5155, allocations: 188.6 kB / 0.7285 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/0.5159, allocations: 75.95 kB / 0.7285 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00362/0.5195, allocations: 2.199 MB / 0.7307 GB, free: 8.387 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005246/0.52, allocations: 87.55 kB / 0.7308 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.5201, allocations: 12 kB / 0.7308 GB, free: 8.289 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002456/0.5203, allocations: 197.7 kB / 0.731 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.193e-05/0.5204, allocations: 55.39 kB / 0.731 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.17e-05/0.5205, allocations: 48.03 kB / 0.7311 GB, free: 7.984 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.5205, allocations: 0 / 0.7311 GB, free: 7.984 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.5205, allocations: 4 kB / 0.7311 GB, free: 7.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.5205, allocations: 4 kB / 0.7311 GB, free: 7.977 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002617/0.5232, allocations: 1.187 MB / 0.7322 GB, free: 6.723 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.5232, allocations: 0 / 0.7322 GB, free: 6.723 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.5234, allocations: 51.95 kB / 0.7323 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004519/0.5239, allocations: 192.7 kB / 0.7325 GB, free: 6.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.5239, allocations: 4 kB / 0.7325 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002816/0.5267, allocations: 2.074 MB / 0.7345 GB, free: 4.273 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.5267, allocations: 0 / 0.7345 GB, free: 4.273 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002063/0.5288, allocations: 0.7548 MB / 0.7352 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.529, allocations: 160.5 kB / 0.7354 GB, free: 3.316 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.436e-05/0.5291, allocations: 8 kB / 0.7354 GB, free: 3.309 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005086/0.5296, allocations: 61.34 kB / 0.7355 GB, free: 3.25 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.5296, allocations: 11.98 kB / 0.7355 GB, free: 3.238 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-05/0.5297, allocations: 11.98 kB / 0.7355 GB, free: 3.227 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000377/0.53, allocations: 394.8 kB / 0.7359 GB, free: 2.844 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5301, allocations: 0 / 0.7359 GB, free: 2.844 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005608/0.5306, allocations: 183.7 kB / 0.736 GB, free: 2.664 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002524/0.5331, allocations: 1.364 MB / 0.7374 GB, free: 1.266 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001745/0.5349, allocations: 0.6395 MB / 0.738 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.5349, allocations: 11.94 kB / 0.738 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006304/0.5356, allocations: 322.9 kB / 0.7383 GB, free: 280 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.5368, allocations: 302 kB / 0.7386 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006981/0.5438, allocations: 3.558 MB / 0.7421 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.5442, allocations: 0.8582 MB / 0.7429 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003867/0.5446, allocations: 96.53 kB / 0.743 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.5448, allocations: 163.4 kB / 0.7432 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.423e-06/0.5448, allocations: 4 kB / 0.7432 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02767/0.5725, allocations: 15.98 MB / 0.7588 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/0.5728, allocations: 274 kB / 0.759 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/2.307, allocations: 0 / 0.759 GB, free: 11.25 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) Environment - environmentSimulation: