Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.311/2.311, allocations: 390.5 MB / 398 MB, free: 10.99 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.001072/0.001071, allocations: 180.5 kB / 491.2 MB, free: 1.605 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.662/1.662, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.001102/0.001102, allocations: 99.59 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.915e-05/1.932e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2935, allocations: 143 MB / 1.212 GB, free: 39.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.462/5.755, allocations: 1.971 GB / 3.183 GB, free: 298.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/5.756, allocations: 88.08 kB / 3.183 GB, free: 298.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.988/7.744, allocations: 0.6232 GB / 3.807 GB, free: 114.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.533e-06/7.744, allocations: 0 / 3.807 GB, free: 114.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001791/7.744, allocations: 39.98 kB / 3.807 GB, free: 114.5 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.004092/7.748, allocations: 1.573 MB / 3.808 GB, free: 112.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/7.748, allocations: 12.03 kB / 3.808 GB, free: 112.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002638/7.751, allocations: 365.9 kB / 3.808 GB, free: 112.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003359/7.754, allocations: 1.227 MB / 3.81 GB, free: 111.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.45e-05/7.754, allocations: 36 kB / 3.81 GB, free: 111.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002486/7.754, allocations: 67.95 kB / 3.81 GB, free: 111.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001464/7.756, allocations: 0.6912 MB / 3.81 GB, free: 110.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/7.757, allocations: 0.9419 MB / 3.811 GB, free: 109.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/7.757, allocations: 0 / 3.811 GB, free: 109.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/7.758, allocations: 3.938 kB / 3.811 GB, free: 109.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.454e-05/7.758, allocations: 38 kB / 3.811 GB, free: 109.4 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.005797/7.763, allocations: 4.922 MB / 3.816 GB, free: 104.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008169/7.764, allocations: 0.6273 MB / 3.817 GB, free: 103.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000398/7.765, allocations: 306.5 kB / 3.817 GB, free: 103.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005252/7.765, allocations: 312.6 kB / 3.817 GB, free: 102.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/7.765, allocations: 39.12 kB / 3.817 GB, free: 102.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 2.855e-06/7.765, allocations: 3.938 kB / 3.817 GB, free: 102.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.001563/7.767, allocations: 0.7087 MB / 3.818 GB, free: 102.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/7.767, allocations: 170.8 kB / 3.818 GB, free: 101.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007392/7.768, allocations: 0.5962 MB / 3.819 GB, free: 101.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.837e-05/7.768, allocations: 25.7 kB / 3.819 GB, free: 101.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003233/7.768, allocations: 0.558 MB / 3.819 GB, free: 100.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/7.768, allocations: 244.4 kB / 3.82 GB, free: 100.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/7.768, allocations: 0 / 3.82 GB, free: 100.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.929e-05/7.768, allocations: 330 kB / 3.82 GB, free: 100.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/7.769, allocations: 225.5 kB / 3.82 GB, free: 99.91 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004305/7.769, allocations: 460.6 kB / 3.821 GB, free: 99.37 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/7.77, allocations: 344.3 kB / 3.821 GB, free: 99.04 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/7.77, allocations: 11.95 kB / 3.821 GB, free: 99.03 MB / 1.151 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001239/7.771, allocations: 0.7921 MB / 3.822 GB, free: 98.23 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003715/7.771, allocations: 1.664 MB / 3.823 GB, free: 96.43 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/7.771, allocations: 4 kB / 3.823 GB, free: 96.43 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/7.771, allocations: 12 kB / 3.823 GB, free: 96.42 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/7.773, allocations: 259.6 kB / 3.824 GB, free: 96.16 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/7.774, allocations: 1.354 MB / 3.825 GB, free: 94.69 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/7.775, allocations: 107.5 kB / 3.825 GB, free: 94.58 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.382e-05/7.775, allocations: 39.94 kB / 3.825 GB, free: 94.54 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/7.775, allocations: 5.562 kB / 3.825 GB, free: 94.54 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001047/7.776, allocations: 0.6662 MB / 3.826 GB, free: 93.88 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/7.776, allocations: 4 kB / 3.826 GB, free: 93.87 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/7.776, allocations: 8 kB / 3.826 GB, free: 93.86 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/7.778, allocations: 248.2 kB / 3.826 GB, free: 93.62 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008553/7.778, allocations: 1.369 MB / 3.827 GB, free: 92.13 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009929/7.779, allocations: 103.5 kB / 3.827 GB, free: 92.03 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-05/7.78, allocations: 31.94 kB / 3.827 GB, free: 92 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.0001981/7.78, allocations: 124.8 kB / 3.828 GB, free: 91.87 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00111/7.781, allocations: 0.6851 MB / 3.828 GB, free: 91.18 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/7.781, allocations: 102.8 kB / 3.828 GB, free: 91.07 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/7.783, allocations: 0.7847 MB / 3.829 GB, free: 90.28 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/7.783, allocations: 4 kB / 3.829 GB, free: 90.27 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/7.783, allocations: 4 kB / 3.829 GB, free: 90.27 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001115/7.784, allocations: 0.7184 MB / 3.83 GB, free: 89.52 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003115/7.787, allocations: 1.85 MB / 3.832 GB, free: 87.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/7.787, allocations: 4.172 kB / 3.832 GB, free: 87.59 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000719/7.788, allocations: 155.8 kB / 3.832 GB, free: 87.44 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004033/7.788, allocations: 40.83 kB / 3.832 GB, free: 87.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.533e-05/7.788, allocations: 7.984 kB / 3.832 GB, free: 87.39 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/7.789, allocations: 1.338 MB / 3.833 GB, free: 85.93 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/7.789, allocations: 0 / 3.833 GB, free: 85.93 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/7.791, allocations: 1.305 MB / 3.834 GB, free: 84.54 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004296/7.791, allocations: 243.7 kB / 3.835 GB, free: 84.29 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/7.792, allocations: 15.92 kB / 3.835 GB, free: 84.27 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007705/7.792, allocations: 67.78 kB / 3.835 GB, free: 84.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/7.792, allocations: 52.48 kB / 3.835 GB, free: 84.15 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.364e-05/7.793, allocations: 23.98 kB / 3.835 GB, free: 84.13 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005399/7.793, allocations: 464.1 kB / 3.835 GB, free: 83.66 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/7.793, allocations: 0 / 3.835 GB, free: 83.66 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001964/7.795, allocations: 0.6465 MB / 3.836 GB, free: 83.02 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.004615/7.8, allocations: 4.205 MB / 3.84 GB, free: 78.66 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002402/7.802, allocations: 1.076 MB / 3.841 GB, free: 77.58 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/7.802, allocations: 4 kB / 3.841 GB, free: 77.57 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005955/7.803, allocations: 428.9 kB / 3.841 GB, free: 77.14 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0021/7.805, allocations: 420.4 kB / 3.842 GB, free: 76.74 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00396/7.809, allocations: 1.891 MB / 3.844 GB, free: 74.78 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005706/7.809, allocations: 1.173 MB / 3.845 GB, free: 73.57 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001301/7.811, allocations: 311.5 kB / 3.845 GB, free: 73.27 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004766/7.811, allocations: 451.3 kB / 3.846 GB, free: 72.82 MB / 1.151 GB Notification: Performance of SimCode: time 7.12e-07/7.811, allocations: 0 / 3.846 GB, free: 72.82 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0764/7.888, allocations: 38.93 MB / 3.884 GB, free: 34.11 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/7.888, allocations: 178.4 kB / 3.884 GB, free: 33.92 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.076/11.96, allocations: 0 / 3.884 GB, free: 33.92 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir_res.mat does not exist to compare? outputFormat=mat