Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.276/2.276, allocations: 387.1 MB / 399.7 MB, free: 9.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 176.9 kB / 492.3 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 221.3 MB / 0.7871 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008972/0.0008973, allocations: 95.47 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.048e-05/3.05e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2977, allocations: 142.3 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.964/6.262, allocations: 1.971 GB / 3.183 GB, free: 358 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/6.262, allocations: 96.72 kB / 3.183 GB, free: 357.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.282/8.544, allocations: 0.6301 GB / 3.813 GB, free: 149.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.923e-06/8.544, allocations: 0 / 3.813 GB, free: 149.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002247/8.545, allocations: 35.94 kB / 3.813 GB, free: 149.6 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.004681/8.549, allocations: 1.576 MB / 3.815 GB, free: 148 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/8.549, allocations: 12.03 kB / 3.815 GB, free: 148 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004815/8.55, allocations: 152.3 kB / 3.815 GB, free: 147.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002681/8.552, allocations: 373 kB / 3.815 GB, free: 147.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003698/8.556, allocations: 1.222 MB / 3.817 GB, free: 146.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.929e-05/8.556, allocations: 74 kB / 3.817 GB, free: 146.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003327/8.557, allocations: 112 kB / 3.817 GB, free: 146 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/8.559, allocations: 1.081 MB / 3.818 GB, free: 144.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.292e-05/8.559, allocations: 0 / 3.818 GB, free: 144.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/8.559, allocations: 40 kB / 3.818 GB, free: 144.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.149e-05/8.559, allocations: 42 kB / 3.818 GB, free: 144.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/8.561, allocations: 0.7613 MB / 3.819 GB, free: 144 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.007026/8.568, allocations: 5.135 MB / 3.824 GB, free: 138.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009443/8.569, allocations: 0.6603 MB / 3.824 GB, free: 137.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004509/8.569, allocations: 335.3 kB / 3.825 GB, free: 137.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005322/8.57, allocations: 311.8 kB / 3.825 GB, free: 137.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/8.57, allocations: 43.11 kB / 3.825 GB, free: 137.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 2.385e-06/8.57, allocations: 0 / 3.825 GB, free: 137.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.001503/8.571, allocations: 0.6929 MB / 3.826 GB, free: 136.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.084e-05/8.571, allocations: 162.8 kB / 3.826 GB, free: 136.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/8.572, allocations: 0.755 MB / 3.827 GB, free: 135.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.187e-05/8.572, allocations: 37.7 kB / 3.827 GB, free: 135.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/8.573, allocations: 0.5587 MB / 3.827 GB, free: 134.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002066/8.573, allocations: 244.3 kB / 3.827 GB, free: 134.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/8.573, allocations: 16 kB / 3.827 GB, free: 134.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001063/8.573, allocations: 338 kB / 3.828 GB, free: 134.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003484/8.573, allocations: 245.4 kB / 3.828 GB, free: 134 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005151/8.574, allocations: 466.8 kB / 3.828 GB, free: 133.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004412/8.574, allocations: 312 kB / 3.829 GB, free: 133.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/8.574, allocations: 0 / 3.829 GB, free: 133.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001145/8.576, allocations: 0.8187 MB / 3.83 GB, free: 132.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004837/8.576, allocations: 1.669 MB / 3.831 GB, free: 130.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/8.576, allocations: 4 kB / 3.831 GB, free: 130.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.815e-05/8.576, allocations: 8 kB / 3.831 GB, free: 130.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/8.578, allocations: 259.7 kB / 3.831 GB, free: 130.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/8.579, allocations: 1.417 MB / 3.833 GB, free: 128.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/8.58, allocations: 131.3 kB / 3.833 GB, free: 128.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.802e-05/8.58, allocations: 35.98 kB / 3.833 GB, free: 128.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/8.58, allocations: 7.938 kB / 3.833 GB, free: 128.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009696/8.581, allocations: 0.6783 MB / 3.834 GB, free: 127.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/8.581, allocations: 8.094 kB / 3.834 GB, free: 127.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/8.581, allocations: 8 kB / 3.834 GB, free: 127.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/8.582, allocations: 259.6 kB / 3.834 GB, free: 127.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009774/8.583, allocations: 1.405 MB / 3.835 GB, free: 126.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008568/8.584, allocations: 139.3 kB / 3.835 GB, free: 126 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.461e-05/8.584, allocations: 35.98 kB / 3.835 GB, free: 125.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002239/8.585, allocations: 150 kB / 3.836 GB, free: 125.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/8.585, allocations: 118.5 kB / 3.836 GB, free: 125.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/8.586, allocations: 0.7893 MB / 3.836 GB, free: 124.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/8.586, allocations: 8 kB / 3.836 GB, free: 124.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/8.586, allocations: 0 / 3.836 GB, free: 124.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001082/8.587, allocations: 0.703 MB / 3.837 GB, free: 124.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002925/8.59, allocations: 1.958 MB / 3.839 GB, free: 122.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/8.59, allocations: 7.953 kB / 3.839 GB, free: 122.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006762/8.591, allocations: 151.8 kB / 3.839 GB, free: 121.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004116/8.591, allocations: 49.05 kB / 3.839 GB, free: 121.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.86e-05/8.591, allocations: 12 kB / 3.839 GB, free: 121.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/8.593, allocations: 1.379 MB / 3.841 GB, free: 120.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/8.593, allocations: 0 / 3.841 GB, free: 120.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/8.594, allocations: 1.314 MB / 3.842 GB, free: 118.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000387/8.595, allocations: 267.4 kB / 3.842 GB, free: 118.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/8.595, allocations: 23.98 kB / 3.842 GB, free: 118.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006686/8.596, allocations: 67.94 kB / 3.842 GB, free: 118.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.437e-05/8.596, allocations: 48.45 kB / 3.842 GB, free: 118.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.35e-05/8.596, allocations: 24 kB / 3.842 GB, free: 118.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006609/8.596, allocations: 0.5937 MB / 3.843 GB, free: 117.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.31e-07/8.596, allocations: 4 kB / 3.843 GB, free: 117.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002214/8.599, allocations: 0.7171 MB / 3.844 GB, free: 117.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,QSen.y,QLat.y,PI.I.y,PI1.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 69 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004549/8.603, allocations: 4.015 MB / 3.848 GB, free: 113 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002417/8.606, allocations: 1.14 MB / 3.849 GB, free: 111.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/8.606, allocations: 0 / 3.849 GB, free: 111.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000626/8.606, allocations: 450.5 kB / 3.849 GB, free: 111.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/8.608, allocations: 0.4938 MB / 3.85 GB, free: 110.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/8.612, allocations: 1.957 MB / 3.851 GB, free: 108.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005214/8.613, allocations: 1.169 MB / 3.853 GB, free: 107.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001284/8.614, allocations: 356.4 kB / 3.853 GB, free: 107.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004812/8.614, allocations: 451.3 kB / 3.853 GB, free: 106.9 MB / 1.151 GB Notification: Performance of SimCode: time 9.72e-07/8.614, allocations: 0 / 3.853 GB, free: 106.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09965/8.714, allocations: 60.34 MB / 3.912 GB, free: 46.91 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/8.714, allocations: 240.1 kB / 3.913 GB, free: 46.66 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.164/12.88, allocations: 0 / 3.913 GB, free: 46.66 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir_res.mat does not exist to compare? outputFormat=mat