Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.729/2.729, allocations: 287.3 MB / 302.3 MB, free: 8.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001709/0.001709, allocations: 173 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.224/2.224, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001202/0.001202, allocations: 92.31 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006674/0.0006677, allocations: 12.48 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2272, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.938/1.165, allocations: 143 MB / 1.118 GB, free: 0.8359 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.008942/1.174, allocations: 4.092 MB / 1.122 GB, free: 0.543 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/1.175, allocations: 12.34 kB / 1.122 GB, free: 0.5391 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001503/1.177, allocations: 318 kB / 1.122 GB, free: 496 kB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.004827/1.182, allocations: 0.984 MB / 1.123 GB, free: 440 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003959/1.186, allocations: 0.7762 MB / 1.124 GB, free: 400 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002328/1.188, allocations: 0.7553 MB / 1.125 GB, free: 364 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009149/1.189, allocations: 367.7 kB / 1.125 GB, free: 312 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001802/1.191, allocations: 0.5018 MB / 1.126 GB, free: 240 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007095/1.192, allocations: 301.7 kB / 1.126 GB, free: 180 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001067/1.192, allocations: 20.56 kB / 1.126 GB, free: 180 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002192/1.194, allocations: 0.6314 MB / 1.126 GB, free: 160 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003015/1.194, allocations: 167.1 kB / 1.127 GB, free: 140 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003143/1.195, allocations: 140.4 kB / 1.127 GB, free: 16.09 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001658/1.196, allocations: 0.7922 MB / 1.128 GB, free: 16.03 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/1.196, allocations: 0 / 1.128 GB, free: 16.03 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.956e-06/1.196, allocations: 1.75 kB / 1.128 GB, free: 16.03 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.073e-05/1.196, allocations: 4 kB / 1.128 GB, free: 16.03 MB / 0.698 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.002337/1.199, allocations: 0.8449 MB / 1.128 GB, free: 15.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/1.199, allocations: 9.312 kB / 1.128 GB, free: 15.45 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001797/1.199, allocations: 84.88 kB / 1.128 GB, free: 15.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002865/1.202, allocations: 280 kB / 1.129 GB, free: 15.37 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/1.204, allocations: 475.9 kB / 1.129 GB, free: 15.11 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005871/1.204, allocations: 97.09 kB / 1.129 GB, free: 15.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/1.204, allocations: 40.66 kB / 1.129 GB, free: 15.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002341/1.207, allocations: 0.6308 MB / 1.13 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/1.207, allocations: 3.953 kB / 1.13 GB, free: 14.99 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.495e-05/1.207, allocations: 21.88 kB / 1.13 GB, free: 14.99 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.723e-05/1.207, allocations: 15.69 kB / 1.13 GB, free: 14.99 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00253/1.21, allocations: 0.5874 MB / 1.131 GB, free: 14.97 MB / 0.698 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.007389/1.217, allocations: 2.298 MB / 1.133 GB, free: 13.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/1.219, allocations: 316.2 kB / 1.133 GB, free: 13.85 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.445e-05/1.219, allocations: 9.969 kB / 1.133 GB, free: 13.85 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/1.219, allocations: 33.5 kB / 1.133 GB, free: 13.81 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 5.06e-06/1.219, allocations: 3.984 kB / 1.133 GB, free: 13.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.009901/1.229, allocations: 1.189 MB / 1.134 GB, free: 13.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.429e-05/1.229, allocations: 81.11 kB / 1.134 GB, free: 13.49 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/1.23, allocations: 0.5506 MB / 1.135 GB, free: 13.28 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001199/1.23, allocations: 28.2 kB / 1.135 GB, free: 13.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003027/1.231, allocations: 301.5 kB / 1.135 GB, free: 13.07 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.271e-05/1.231, allocations: 39.89 kB / 1.135 GB, free: 13.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/1.231, allocations: 6.281 kB / 1.135 GB, free: 13.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001927/1.231, allocations: 354.8 kB / 1.136 GB, free: 12.72 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/1.232, allocations: 209.9 kB / 1.136 GB, free: 12.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/1.234, allocations: 299.1 kB / 1.136 GB, free: 12.51 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/1.235, allocations: 215.8 kB / 1.136 GB, free: 12.46 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/1.235, allocations: 1 kB / 1.136 GB, free: 12.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.005377/1.24, allocations: 0.7858 MB / 1.137 GB, free: 12.19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.582e-05/1.241, allocations: 5.406 kB / 1.137 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.885e-05/1.241, allocations: 2.406 kB / 1.137 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00168/1.242, allocations: 192.1 kB / 1.137 GB, free: 12.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003488/1.246, allocations: 83.38 kB / 1.137 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009159/1.255, allocations: 2.247 MB / 1.14 GB, free: 10.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/1.256, allocations: 90.52 kB / 1.14 GB, free: 10.51 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.539e-05/1.257, allocations: 15.2 kB / 1.14 GB, free: 10.5 MB / 0.698 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.0004947/1.257, allocations: 190.8 kB / 1.14 GB, free: 10.38 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/1.257, allocations: 50.84 kB / 1.14 GB, free: 10.35 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/1.257, allocations: 53.11 kB / 1.14 GB, free: 10.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/1.257, allocations: 1.219 kB / 1.14 GB, free: 10.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.257, allocations: 4 kB / 1.14 GB, free: 10.33 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.257, allocations: 1.406 kB / 1.14 GB, free: 10.33 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005888/1.263, allocations: 1.193 MB / 1.141 GB, free: 9.703 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/1.263, allocations: 1.062 kB / 1.141 GB, free: 9.703 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005124/1.264, allocations: 46.95 kB / 1.141 GB, free: 9.691 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001043/1.265, allocations: 189.6 kB / 1.141 GB, free: 9.629 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.212e-05/1.265, allocations: 2.969 kB / 1.141 GB, free: 9.629 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006466/1.272, allocations: 2.109 MB / 1.143 GB, free: 8.117 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/1.272, allocations: 1.25 kB / 1.143 GB, free: 8.117 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005135/1.277, allocations: 0.7811 MB / 1.144 GB, free: 7.727 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005581/1.277, allocations: 173.2 kB / 1.144 GB, free: 7.586 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/1.278, allocations: 5.25 kB / 1.144 GB, free: 7.582 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/1.279, allocations: 66.97 kB / 1.144 GB, free: 7.559 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/1.279, allocations: 15.33 kB / 1.144 GB, free: 7.551 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.224e-05/1.279, allocations: 15.14 kB / 1.144 GB, free: 7.547 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007851/1.28, allocations: 391.1 kB / 1.145 GB, free: 7.406 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.01e-07/1.28, allocations: 0 / 1.145 GB, free: 7.406 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001183/1.281, allocations: 174.9 kB / 1.145 GB, free: 7.395 MB / 0.698 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.005883/1.287, allocations: 1.533 MB / 1.146 GB, free: 6.32 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004593/1.292, allocations: 0.6507 MB / 1.147 GB, free: 6.051 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.705e-05/1.292, allocations: 0.875 kB / 1.147 GB, free: 6.051 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002027/1.294, allocations: 315.7 kB / 1.147 GB, free: 5.887 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002684/1.296, allocations: 291.2 kB / 1.148 GB, free: 5.789 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01626/1.313, allocations: 4.883 MB / 1.152 GB, free: 2.848 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006724/1.313, allocations: 0.873 MB / 1.153 GB, free: 2.066 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008777/1.314, allocations: 102.2 kB / 1.153 GB, free: 2.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003418/1.315, allocations: 159.5 kB / 1.154 GB, free: 1.996 MB / 0.698 GB Notification: Performance of SimCode: time 1.343e-06/1.315, allocations: 0 / 1.154 GB, free: 1.996 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07372/1.388, allocations: 15.95 MB / 1.169 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004186/1.389, allocations: 283.7 kB / 1.169 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.138/4.527, allocations: 2.531 kB / 1.169 GB, free: 9.957 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)