Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.MixingVolumeHeatConduction,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.0009156/0.0009157, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.001159/0.001159, allocations: 168.7 kB / 15.95 MB, free: 204 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.424/1.424, allocations: 223.3 MB / 240 MB, free: 5.422 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.434/2.434, allocations: 390.4 MB / 0.6655 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.0003511, allocations: 16 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8906/0.891, allocations: 142.3 MB / 0.9538 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1934/1.084, allocations: 155.4 MB / 1.106 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006259/1.091, allocations: 4.04 MB / 1.11 GB, free: 404 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008138/1.092, allocations: 19.88 kB / 1.11 GB, free: 384 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008596/1.092, allocations: 234.5 kB / 1.11 GB, free: 148 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.002816/1.095, allocations: 0.9058 MB / 1.111 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001886/1.097, allocations: 0.5668 MB / 1.111 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002561/1.1, allocations: 1.988 MB / 1.113 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007109/1.101, allocations: 416.6 kB / 1.114 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/1.102, allocations: 0.5719 MB / 1.114 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008386/1.103, allocations: 0.5369 MB / 1.115 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.723e-05/1.103, allocations: 24 kB / 1.115 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/1.104, allocations: 411 kB / 1.115 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002615/1.104, allocations: 227.3 kB / 1.115 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002059/1.104, allocations: 173.4 kB / 1.115 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001003/1.105, allocations: 0.8768 MB / 1.116 GB, free: 9.457 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/1.105, allocations: 0 / 1.116 GB, free: 9.457 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.216e-06/1.105, allocations: 0 / 1.116 GB, free: 9.457 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.136e-05/1.105, allocations: 0 / 1.116 GB, free: 9.457 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001673/1.107, allocations: 0.9156 MB / 1.117 GB, free: 8.492 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/1.107, allocations: 12.03 kB / 1.117 GB, free: 8.48 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001237/1.107, allocations: 98.45 kB / 1.117 GB, free: 8.375 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009622/1.108, allocations: 163 kB / 1.117 GB, free: 8.215 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007709/1.109, allocations: 0.5019 MB / 1.118 GB, free: 7.672 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.666e-05/1.109, allocations: 41.31 kB / 1.118 GB, free: 7.629 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.7e-05/1.109, allocations: 59.98 kB / 1.118 GB, free: 7.57 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/1.11, allocations: 0.6517 MB / 1.119 GB, free: 6.902 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/1.11, allocations: 0 / 1.119 GB, free: 6.902 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.064e-05/1.11, allocations: 24 kB / 1.119 GB, free: 6.879 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-05/1.11, allocations: 29.3 kB / 1.119 GB, free: 6.852 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008863/1.111, allocations: 0.5126 MB / 1.119 GB, free: 6.34 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.003332/1.115, allocations: 2.305 MB / 1.122 GB, free: 3.867 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005079/1.115, allocations: 262.7 kB / 1.122 GB, free: 3.602 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/1.115, allocations: 138.8 kB / 1.122 GB, free: 3.465 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/1.115, allocations: 7.984 kB / 1.122 GB, free: 3.457 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/1.116, allocations: 42.55 kB / 1.122 GB, free: 3.406 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/1.116, allocations: 3.938 kB / 1.122 GB, free: 3.402 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20): time 0.001624/1.117, allocations: 0.6805 MB / 1.123 GB, free: 2.672 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/1.117, allocations: 89 kB / 1.123 GB, free: 2.566 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006527/1.118, allocations: 0.5536 MB / 1.123 GB, free: 2.004 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/1.118, allocations: 29.7 kB / 1.123 GB, free: 1.969 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/1.118, allocations: 331 kB / 1.124 GB, free: 1.637 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.753e-05/1.118, allocations: 78.98 kB / 1.124 GB, free: 1.559 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-05/1.118, allocations: 4 kB / 1.124 GB, free: 1.555 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001719/1.118, allocations: 358.8 kB / 1.124 GB, free: 1.195 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/1.119, allocations: 140.5 kB / 1.124 GB, free: 1.059 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/1.119, allocations: 218.6 kB / 1.124 GB, free: 0.8125 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/1.119, allocations: 179.9 kB / 1.125 GB, free: 0.6367 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.119, allocations: 4 kB / 1.125 GB, free: 0.6328 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008669/1.12, allocations: 0.4986 MB / 1.125 GB, free: 124 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/1.12, allocations: 5.562 kB / 1.125 GB, free: 120 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/1.12, allocations: 4 kB / 1.125 GB, free: 116 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003139/1.121, allocations: 93.66 kB / 1.125 GB, free: 16 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/1.121, allocations: 79.89 kB / 1.125 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003242/1.124, allocations: 3.096 MB / 1.128 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005778/1.125, allocations: 63.42 kB / 1.128 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/1.125, allocations: 12 kB / 1.128 GB, free: 12.5 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 (34): * Single equations (assignments): 32 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003724/1.125, allocations: 221.6 kB / 1.128 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/1.125, allocations: 55.44 kB / 1.129 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.994e-05/1.125, allocations: 56.5 kB / 1.129 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/1.125, allocations: 0 / 1.129 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/1.125, allocations: 0 / 1.129 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007474/1.126, allocations: 0.5474 MB / 1.129 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/1.128, allocations: 0.9223 MB / 1.13 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/1.128, allocations: 4 kB / 1.13 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/1.128, allocations: 43.91 kB / 1.13 GB, free: 10.51 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002019/1.128, allocations: 60.81 kB / 1.13 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/1.128, allocations: 16.05 kB / 1.13 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001703/1.13, allocations: 1.679 MB / 1.132 GB, free: 8.617 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.13, allocations: 4.031 kB / 1.132 GB, free: 8.613 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006757/1.131, allocations: 448.7 kB / 1.132 GB, free: 8.152 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002403/1.131, allocations: 176.3 kB / 1.132 GB, free: 7.961 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.405e-05/1.131, allocations: 4 kB / 1.132 GB, free: 7.957 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004291/1.131, allocations: 41.55 kB / 1.132 GB, free: 7.918 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.173e-05/1.131, allocations: 15.97 kB / 1.132 GB, free: 7.902 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.955e-05/1.131, allocations: 20.17 kB / 1.132 GB, free: 7.883 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005054/1.132, allocations: 390.8 kB / 1.133 GB, free: 7.504 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/1.132, allocations: 0 / 1.133 GB, free: 7.504 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007729/1.133, allocations: 211.5 kB / 1.133 GB, free: 7.297 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 (15): * Single equations (assignments): 14 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001211/1.134, allocations: 1.054 MB / 1.134 GB, free: 6.219 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0009118/1.135, allocations: 0.5288 MB / 1.135 GB, free: 5.664 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/1.135, allocations: 4.062 kB / 1.135 GB, free: 5.66 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003513/1.135, allocations: 262.5 kB / 1.135 GB, free: 5.391 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/1.137, allocations: 356.7 kB / 1.135 GB, free: 5.039 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004687/1.142, allocations: 3.141 MB / 1.138 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004805/1.142, allocations: 0.9054 MB / 1.139 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004986/1.143, allocations: 112.8 kB / 1.139 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/1.143, allocations: 195.4 kB / 1.139 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of SimCode: time 9.72e-07/1.143, allocations: 0 / 1.139 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03622/1.179, allocations: 17.09 MB / 1.156 GB, free: 15.88 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002828/1.179, allocations: 277.2 kB / 1.156 GB, free: 15.52 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.133/3.313, allocations: 0 / 1.156 GB, free: 15.52 MB / 0.92 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat does not exist to compare? outputFormat=mat