Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_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.000907/0.0009066, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008871/0.000887, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.493/2.493, allocations: 390.4 MB / 0.6655 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003413, allocations: 12 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8665/0.8669, allocations: 142.3 MB / 0.9538 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2064/1.073, allocations: 155.4 MB / 1.106 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00763/1.081, allocations: 4.021 MB / 1.11 GB, free: 272 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/1.082, allocations: 19.88 kB / 1.11 GB, free: 252 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/1.084, allocations: 226.6 kB / 1.11 GB, free: 24 kB / 0.8575 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.002817/1.086, allocations: 0.7542 MB / 1.11 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002432/1.089, allocations: 0.6066 MB / 1.111 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002398/1.091, allocations: 1.517 MB / 1.113 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005742/1.092, allocations: 348.5 kB / 1.113 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/1.093, allocations: 0.5563 MB / 1.113 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007141/1.094, allocations: 434.4 kB / 1.114 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.197e-05/1.094, allocations: 24 kB / 1.114 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/1.095, allocations: 0.6159 MB / 1.114 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002327/1.096, allocations: 179.4 kB / 1.115 GB, free: 11 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001903/1.096, allocations: 145.4 kB / 1.115 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001106/1.097, allocations: 0.7949 MB / 1.116 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/1.097, allocations: 0 / 1.116 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.425e-06/1.097, allocations: 0 / 1.116 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.798e-06/1.097, allocations: 0 / 1.116 GB, free: 10.06 MB / 0.8731 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.001664/1.099, allocations: 0.8454 MB / 1.116 GB, free: 9.164 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/1.099, allocations: 12.03 kB / 1.116 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001275/1.099, allocations: 90.52 kB / 1.116 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/1.1, allocations: 287 kB / 1.117 GB, free: 8.773 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008702/1.101, allocations: 471.7 kB / 1.117 GB, free: 8.273 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002976/1.102, allocations: 96.94 kB / 1.117 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.663e-05/1.102, allocations: 40 kB / 1.117 GB, free: 8.137 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/1.103, allocations: 0.638 MB / 1.118 GB, free: 7.473 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/1.103, allocations: 0 / 1.118 GB, free: 7.473 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.233e-05/1.103, allocations: 24 kB / 1.118 GB, free: 7.449 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.113e-05/1.103, allocations: 17 kB / 1.118 GB, free: 7.434 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/1.105, allocations: 0.5855 MB / 1.119 GB, free: 6.848 MB / 0.8731 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.004081/1.109, allocations: 2.307 MB / 1.121 GB, free: 4.41 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009595/1.11, allocations: 314.3 kB / 1.121 GB, free: 4.094 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005093/1.11, allocations: 184.7 kB / 1.121 GB, free: 3.91 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/1.11, allocations: 11.94 kB / 1.121 GB, free: 3.898 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/1.11, allocations: 34.56 kB / 1.121 GB, free: 3.855 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=11): time 2.254e-06/1.11, allocations: 0 / 1.121 GB, free: 3.855 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11): time 0.004758/1.115, allocations: 1.189 MB / 1.122 GB, free: 2.637 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/1.115, allocations: 81.11 kB / 1.123 GB, free: 2.539 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007265/1.116, allocations: 0.5534 MB / 1.123 GB, free: 1.973 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.78e-05/1.116, allocations: 33.7 kB / 1.123 GB, free: 1.934 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002484/1.116, allocations: 295.5 kB / 1.123 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.612e-05/1.116, allocations: 43.38 kB / 1.123 GB, free: 1.598 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/1.116, allocations: 8 kB / 1.123 GB, free: 1.59 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001768/1.117, allocations: 358.8 kB / 1.124 GB, free: 1.23 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005581/1.117, allocations: 207.8 kB / 1.124 GB, free: 1.027 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006094/1.118, allocations: 285.3 kB / 1.124 GB, free: 0.7148 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005806/1.118, allocations: 221.1 kB / 1.125 GB, free: 0.5 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.118, allocations: 0 / 1.125 GB, free: 0.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002462/1.121, allocations: 0.7832 MB / 1.125 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/1.121, allocations: 8 kB / 1.125 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/1.121, allocations: 0 / 1.125 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006143/1.121, allocations: 192.8 kB / 1.125 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/1.122, allocations: 83.88 kB / 1.126 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00408/1.126, allocations: 2.185 MB / 1.128 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007082/1.127, allocations: 103.3 kB / 1.128 GB, free: 13 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/1.127, allocations: 8 kB / 1.128 GB, free: 13 MB / 0.8887 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.0003825/1.127, allocations: 193.7 kB / 1.128 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/1.127, allocations: 51.44 kB / 1.128 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/1.127, allocations: 52.03 kB / 1.128 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/1.127, allocations: 0 / 1.128 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/1.127, allocations: 4 kB / 1.128 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.127, allocations: 0 / 1.128 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002961/1.13, allocations: 1.191 MB / 1.129 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/1.13, allocations: 96 / 1.129 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/1.131, allocations: 51.95 kB / 1.129 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005246/1.131, allocations: 188.6 kB / 1.129 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/1.131, allocations: 4 kB / 1.129 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00317/1.134, allocations: 2.065 MB / 1.131 GB, free: 8.988 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/1.134, allocations: 3.938 kB / 1.131 GB, free: 8.984 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00236/1.137, allocations: 0.751 MB / 1.132 GB, free: 8.207 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003265/1.137, allocations: 164.5 kB / 1.132 GB, free: 8.027 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.169e-05/1.137, allocations: 7.953 kB / 1.132 GB, free: 8.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005523/1.138, allocations: 73.48 kB / 1.132 GB, free: 7.949 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.76e-05/1.138, allocations: 11.97 kB / 1.132 GB, free: 7.938 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.337e-05/1.138, allocations: 15.92 kB / 1.132 GB, free: 7.922 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000494/1.138, allocations: 386.8 kB / 1.133 GB, free: 7.547 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.21e-07/1.138, allocations: 0 / 1.133 GB, free: 7.547 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007264/1.139, allocations: 183.8 kB / 1.133 GB, free: 7.367 MB / 0.8887 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.00299/1.142, allocations: 1.371 MB / 1.134 GB, free: 5.969 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001999/1.144, allocations: 0.6427 MB / 1.135 GB, free: 5.312 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/1.144, allocations: 0 / 1.135 GB, free: 5.312 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006907/1.145, allocations: 319 kB / 1.135 GB, free: 4.988 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/1.146, allocations: 308.1 kB / 1.136 GB, free: 4.695 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007903/1.154, allocations: 3.553 MB / 1.139 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/1.155, allocations: 0.866 MB / 1.14 GB, free: 172 kB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006313/1.155, allocations: 108.5 kB / 1.14 GB, free: 60 kB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002744/1.156, allocations: 155.4 kB / 1.14 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of SimCode: time 1.233e-06/1.156, allocations: 0 / 1.14 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03407/1.19, allocations: 15.98 MB / 1.156 GB, free: 316 kB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/1.19, allocations: 283.9 kB / 1.156 GB, free: 15.95 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.026/3.216, allocations: 4 kB / 1.156 GB, free: 15.95 MB / 0.92 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat does not exist to compare? outputFormat=mat