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.159/2.159, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001045/0.001045, allocations: 180.8 kB / 487.4 MB, free: 5.047 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.509/1.509, allocations: 221.5 MB / 0.7824 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009244/0.0009245, allocations: 107.8 kB / 0.9219 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.844e-05/1.845e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3166, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.213/6.53, allocations: 1.97 GB / 3.176 GB, free: 322.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/6.53, allocations: 88.27 kB / 3.176 GB, free: 322 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.069/8.6, allocations: 0.6232 GB / 3.799 GB, free: 140.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.513e-06/8.6, allocations: 0 / 3.799 GB, free: 140.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001064/8.6, allocations: 35.98 kB / 3.799 GB, free: 140.8 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.002902/8.603, allocations: 1.583 MB / 3.801 GB, free: 139.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/8.603, allocations: 12.03 kB / 3.801 GB, free: 139.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002003/8.605, allocations: 365.9 kB / 3.801 GB, free: 138.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002337/8.607, allocations: 1.212 MB / 3.803 GB, free: 137.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/8.607, allocations: 32 kB / 3.803 GB, free: 137.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/8.607, allocations: 60 kB / 3.803 GB, free: 137.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001106/8.608, allocations: 0.699 MB / 3.803 GB, free: 136.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/8.61, allocations: 0.9422 MB / 3.804 GB, free: 135.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/8.61, allocations: 7.938 kB / 3.804 GB, free: 135.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.297e-05/8.61, allocations: 3.938 kB / 3.804 GB, free: 135.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.44e-05/8.61, allocations: 34 kB / 3.804 GB, free: 135.7 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.004994/8.615, allocations: 4.926 MB / 3.809 GB, free: 130.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007613/8.616, allocations: 0.628 MB / 3.81 GB, free: 129.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003477/8.616, allocations: 314.5 kB / 3.81 GB, free: 129.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004932/8.616, allocations: 303.8 kB / 3.81 GB, free: 129.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/8.616, allocations: 43.12 kB / 3.81 GB, free: 129.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 3.356e-06/8.617, allocations: 0 / 3.81 GB, free: 129.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.001438/8.618, allocations: 0.7125 MB / 3.811 GB, free: 128.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/8.618, allocations: 166.8 kB / 3.811 GB, free: 128.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006455/8.619, allocations: 0.5846 MB / 3.812 GB, free: 127.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.823e-05/8.619, allocations: 29.7 kB / 3.812 GB, free: 127.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/8.619, allocations: 0.5619 MB / 3.812 GB, free: 127 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/8.619, allocations: 248.3 kB / 3.813 GB, free: 126.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/8.619, allocations: 0 / 3.813 GB, free: 126.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.284e-05/8.619, allocations: 334 kB / 3.813 GB, free: 126.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/8.62, allocations: 225.5 kB / 3.813 GB, free: 126.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003909/8.62, allocations: 449.2 kB / 3.814 GB, free: 125.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005274/8.621, allocations: 360.2 kB / 3.814 GB, free: 125.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/8.621, allocations: 0 / 3.814 GB, free: 125.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001101/8.622, allocations: 0.8033 MB / 3.815 GB, free: 124.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003077/8.622, allocations: 1.665 MB / 3.816 GB, free: 122.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/8.622, allocations: 4 kB / 3.816 GB, free: 122.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/8.622, allocations: 8 kB / 3.816 GB, free: 122.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/8.623, allocations: 259.6 kB / 3.817 GB, free: 122.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009808/8.624, allocations: 1.373 MB / 3.818 GB, free: 121 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009095/8.625, allocations: 99.47 kB / 3.818 GB, free: 120.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.689e-05/8.625, allocations: 39.98 kB / 3.818 GB, free: 120.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.634e-06/8.625, allocations: 4 kB / 3.818 GB, free: 120.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001005/8.626, allocations: 0.6626 MB / 3.819 GB, free: 120.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/8.626, allocations: 12.05 kB / 3.819 GB, free: 120.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.106e-06/8.626, allocations: 8 kB / 3.819 GB, free: 120.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/8.628, allocations: 251.7 kB / 3.819 GB, free: 119.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008103/8.629, allocations: 1.362 MB / 3.82 GB, free: 118.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008683/8.63, allocations: 99.61 kB / 3.82 GB, free: 118.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-05/8.63, allocations: 28 kB / 3.82 GB, free: 118.3 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.0001842/8.63, allocations: 128.8 kB / 3.82 GB, free: 118.2 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001035/8.631, allocations: 0.6735 MB / 3.821 GB, free: 117.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/8.631, allocations: 106.7 kB / 3.821 GB, free: 117.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/8.633, allocations: 0.7962 MB / 3.822 GB, free: 116.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/8.633, allocations: 8 kB / 3.822 GB, free: 116.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/8.633, allocations: 4 kB / 3.822 GB, free: 116.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001056/8.634, allocations: 0.7147 MB / 3.823 GB, free: 115.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002767/8.636, allocations: 1.838 MB / 3.825 GB, free: 113.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/8.636, allocations: 4 kB / 3.825 GB, free: 113.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000683/8.637, allocations: 148 kB / 3.825 GB, free: 113.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003896/8.637, allocations: 52.78 kB / 3.825 GB, free: 113.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.311e-05/8.638, allocations: 7.984 kB / 3.825 GB, free: 113.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009619/8.638, allocations: 1.324 MB / 3.826 GB, free: 112.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/8.639, allocations: 8.062 kB / 3.826 GB, free: 112.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/8.64, allocations: 1.305 MB / 3.827 GB, free: 110.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003915/8.641, allocations: 255.6 kB / 3.828 GB, free: 110.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/8.641, allocations: 7.984 kB / 3.828 GB, free: 110.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006906/8.641, allocations: 59.84 kB / 3.828 GB, free: 110.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/8.642, allocations: 44.5 kB / 3.828 GB, free: 110.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.474e-05/8.642, allocations: 24 kB / 3.828 GB, free: 110.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005611/8.642, allocations: 468 kB / 3.828 GB, free: 110 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/8.642, allocations: 0 / 3.828 GB, free: 110 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001939/8.644, allocations: 0.6465 MB / 3.829 GB, free: 109.3 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.005687/8.65, allocations: 4.219 MB / 3.833 GB, free: 104.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002672/8.652, allocations: 1.076 MB / 3.834 GB, free: 103.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/8.653, allocations: 3.938 kB / 3.834 GB, free: 103.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006809/8.653, allocations: 428.5 kB / 3.834 GB, free: 103.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002529/8.656, allocations: 422.9 kB / 3.835 GB, free: 103 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004545/8.66, allocations: 1.882 MB / 3.837 GB, free: 101.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006272/8.661, allocations: 1.173 MB / 3.838 GB, free: 99.88 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001343/8.662, allocations: 319.5 kB / 3.838 GB, free: 99.57 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004775/8.663, allocations: 455.2 kB / 3.838 GB, free: 99.12 MB / 1.151 GB Notification: Performance of SimCode: time 1.222e-06/8.663, allocations: 0 / 3.838 GB, free: 99.12 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06742/8.73, allocations: 38.91 MB / 3.876 GB, free: 60.43 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001588/8.73, allocations: 175.8 kB / 3.877 GB, free: 60.24 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.535/12.27, allocations: 0 / 3.877 GB, free: 60.24 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