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.324/2.324, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001446/0.001446, allocations: 177.1 kB / 498.1 MB, free: 5.738 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.53/1.53, allocations: 223.2 MB / 0.7948 GB, free: 18.87 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.001112/0.001112, allocations: 104.2 kB / 0.9346 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004165/0.0004164, allocations: 16.5 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2842, allocations: 142.4 MB / 1.223 GB, free: 89.53 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.907/4.191, allocations: 1.971 GB / 3.194 GB, free: 7.004 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/4.191, allocations: 99.94 kB / 3.194 GB, free: 6.906 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.514/6.705, allocations: 0.6307 GB / 3.824 GB, free: 288 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.654e-06/6.705, allocations: 0 / 3.824 GB, free: 288 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001773/6.706, allocations: 37.61 kB / 3.825 GB, free: 288 MB / 1.167 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.00492/6.711, allocations: 1.773 MB / 3.826 GB, free: 286.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/6.711, allocations: 11.5 kB / 3.826 GB, free: 286.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004531/6.711, allocations: 157.3 kB / 3.826 GB, free: 286.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00258/6.714, allocations: 364.6 kB / 3.827 GB, free: 286.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003526/6.717, allocations: 1.239 MB / 3.828 GB, free: 285.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.656e-05/6.717, allocations: 82 kB / 3.828 GB, free: 285.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002431/6.718, allocations: 104 kB / 3.828 GB, free: 285.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/6.719, allocations: 1.118 MB / 3.829 GB, free: 284.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.368e-05/6.72, allocations: 11.41 kB / 3.829 GB, free: 284.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.615e-05/6.72, allocations: 40 kB / 3.829 GB, free: 284.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.231e-05/6.72, allocations: 34 kB / 3.829 GB, free: 284 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/6.721, allocations: 0.8381 MB / 3.83 GB, free: 283.2 MB / 1.167 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.00643/6.728, allocations: 5.136 MB / 3.835 GB, free: 277.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/6.729, allocations: 0.7385 MB / 3.836 GB, free: 277.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00055/6.729, allocations: 306.8 kB / 3.836 GB, free: 276.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/6.73, allocations: 43.11 kB / 3.836 GB, free: 276.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 4.268e-06/6.73, allocations: 0 / 3.836 GB, free: 276.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.002036/6.732, allocations: 1.026 MB / 3.837 GB, free: 275.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/6.732, allocations: 165.4 kB / 3.837 GB, free: 275.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/6.733, allocations: 0.7541 MB / 3.838 GB, free: 274.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.605e-05/6.733, allocations: 45.7 kB / 3.838 GB, free: 274.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003305/6.733, allocations: 0.5547 MB / 3.839 GB, free: 274.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/6.733, allocations: 248 kB / 3.839 GB, free: 273.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/6.733, allocations: 16 kB / 3.839 GB, free: 273.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.956e-05/6.733, allocations: 340.3 kB / 3.839 GB, free: 273.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004353/6.734, allocations: 265.9 kB / 3.84 GB, free: 273.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000578/6.734, allocations: 0.5033 MB / 3.84 GB, free: 272.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005346/6.735, allocations: 338.1 kB / 3.84 GB, free: 272.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/6.735, allocations: 0 / 3.84 GB, free: 272.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001356/6.736, allocations: 0.8727 MB / 3.841 GB, free: 271.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003704/6.737, allocations: 1.67 MB / 3.843 GB, free: 269.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/6.737, allocations: 8 kB / 3.843 GB, free: 269.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/6.737, allocations: 8 kB / 3.843 GB, free: 269.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/6.738, allocations: 253.4 kB / 3.843 GB, free: 269.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/6.739, allocations: 1.419 MB / 3.844 GB, free: 267.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/6.741, allocations: 133.7 kB / 3.845 GB, free: 267.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.677e-05/6.741, allocations: 35.98 kB / 3.845 GB, free: 267.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/6.741, allocations: 4 kB / 3.845 GB, free: 267.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001083/6.742, allocations: 0.7364 MB / 3.845 GB, free: 267 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/6.742, allocations: 7.938 kB / 3.845 GB, free: 266.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.343e-06/6.742, allocations: 8 kB / 3.845 GB, free: 266.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/6.743, allocations: 261.5 kB / 3.846 GB, free: 266.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009603/6.744, allocations: 1.428 MB / 3.847 GB, free: 265.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/6.745, allocations: 133.4 kB / 3.847 GB, free: 265 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.39e-05/6.745, allocations: 32 kB / 3.847 GB, free: 265 MB / 1.167 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 () * Number of clocked 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.0005181/6.746, allocations: 364.9 kB / 3.848 GB, free: 264.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/6.746, allocations: 114.6 kB / 3.848 GB, free: 264.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/6.748, allocations: 0.846 MB / 3.848 GB, free: 263.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/6.748, allocations: 8 kB / 3.848 GB, free: 263.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/6.748, allocations: 3.938 kB / 3.848 GB, free: 263.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001194/6.749, allocations: 0.7575 MB / 3.849 GB, free: 262.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003203/6.752, allocations: 2.019 MB / 3.851 GB, free: 260.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/6.752, allocations: 0 / 3.851 GB, free: 260.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007268/6.753, allocations: 147.8 kB / 3.851 GB, free: 260.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004553/6.753, allocations: 48.52 kB / 3.851 GB, free: 260.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.199e-05/6.753, allocations: 19.98 kB / 3.851 GB, free: 260.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/6.755, allocations: 1.39 MB / 3.853 GB, free: 259 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/6.755, allocations: 7.156 kB / 3.853 GB, free: 259 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/6.757, allocations: 1.395 MB / 3.854 GB, free: 257.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005803/6.757, allocations: 271.4 kB / 3.854 GB, free: 257.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001823/6.757, allocations: 16 kB / 3.854 GB, free: 257.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008471/6.758, allocations: 77.5 kB / 3.854 GB, free: 257.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.181e-05/6.758, allocations: 42.72 kB / 3.854 GB, free: 257.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-05/6.758, allocations: 31.92 kB / 3.855 GB, free: 257.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008317/6.759, allocations: 0.5969 MB / 3.855 GB, free: 256.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 2e-07/6.759, allocations: 0 / 3.855 GB, free: 256.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002415/6.762, allocations: 0.7134 MB / 3.856 GB, free: 255.8 MB / 1.167 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 () * Number of clocked 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.005111/6.767, allocations: 4.099 MB / 3.86 GB, free: 252.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002925/6.77, allocations: 1.187 MB / 3.861 GB, free: 250.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/6.77, allocations: 11.42 kB / 3.861 GB, free: 250.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007895/6.771, allocations: 477.7 kB / 3.861 GB, free: 250.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/6.773, allocations: 0.4904 MB / 3.862 GB, free: 249.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/6.783, allocations: 9.438 MB / 3.871 GB, free: 240.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007117/6.784, allocations: 1.167 MB / 3.872 GB, free: 239 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00116/6.785, allocations: 267.9 kB / 3.873 GB, free: 238.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005591/6.786, allocations: 463.3 kB / 3.873 GB, free: 238.3 MB / 1.167 GB Notification: Performance of SimCode: time 7.21e-07/6.786, allocations: 0 / 3.873 GB, free: 238.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08606/6.872, allocations: 54.13 MB / 3.926 GB, free: 184.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002325/6.872, allocations: 258.7 kB / 3.926 GB, free: 184.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.889/10.76, allocations: 0 / 3.926 GB, free: 184.6 MB / 1.167 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