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: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T|vol1.X_w|QSen.u|QLat.u|vol1.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T|vol1.X_w|QSen.u|QLat.u|vol1.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.987/1.987, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.001012/0.001013, allocations: 183.9 kB / 490.8 MB, free: 1.93 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.364/1.364, allocations: 221.4 MB / 0.7863 GB, free: 13.64 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.0008589/0.0008588, allocations: 93.39 kB / 0.9264 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.732e-06/6.763e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2976, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.787/5.085, allocations: 1.971 GB / 3.182 GB, free: 364.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/5.085, allocations: 91.89 kB / 3.182 GB, free: 364.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.818/6.904, allocations: 0.6301 GB / 3.812 GB, free: 154.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001075/6.904, allocations: 42.59 kB / 3.813 GB, free: 154.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.002798/6.906, allocations: 1.577 MB / 3.814 GB, free: 153 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/6.907, allocations: 12.03 kB / 3.814 GB, free: 153 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002262/6.909, allocations: 401.7 kB / 3.814 GB, free: 152.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002442/6.911, allocations: 1.232 MB / 3.816 GB, free: 151.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/6.911, allocations: 32 kB / 3.816 GB, free: 151.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/6.911, allocations: 68 kB / 3.816 GB, free: 151.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001179/6.913, allocations: 0.703 MB / 3.816 GB, free: 150.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/6.914, allocations: 0.9555 MB / 3.817 GB, free: 149.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/6.914, allocations: 3.906 kB / 3.817 GB, free: 149.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.677e-05/6.914, allocations: 4 kB / 3.817 GB, free: 149.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.643e-05/6.914, allocations: 34 kB / 3.817 GB, free: 149.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00495/6.919, allocations: 5.124 MB / 3.822 GB, free: 144.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009029/6.92, allocations: 0.64 MB / 3.823 GB, free: 143.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003789/6.92, allocations: 310.8 kB / 3.823 GB, free: 143.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005264/6.921, allocations: 315.8 kB / 3.824 GB, free: 142.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/6.921, allocations: 43.22 kB / 3.824 GB, free: 142.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 2.514e-06/6.921, allocations: 8.656 kB / 3.824 GB, free: 142.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.001574/6.923, allocations: 0.7407 MB / 3.824 GB, free: 142 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/6.923, allocations: 170.9 kB / 3.825 GB, free: 141.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006361/6.923, allocations: 0.5923 MB / 3.825 GB, free: 141.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.847e-05/6.923, allocations: 25.7 kB / 3.825 GB, free: 141.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/6.923, allocations: 415.4 kB / 3.826 GB, free: 140.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/6.924, allocations: 236.4 kB / 3.826 GB, free: 140.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/6.924, allocations: 0 / 3.826 GB, free: 140.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.969e-05/6.924, allocations: 337.9 kB / 3.826 GB, free: 140.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/6.924, allocations: 229.5 kB / 3.826 GB, free: 139.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004403/6.925, allocations: 462 kB / 3.827 GB, free: 139.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005838/6.925, allocations: 370.9 kB / 3.827 GB, free: 139 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/6.925, allocations: 4 kB / 3.827 GB, free: 139 MB / 1.151 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001169/6.926, allocations: 0.8146 MB / 3.828 GB, free: 138.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002675/6.927, allocations: 1.667 MB / 3.83 GB, free: 136.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/6.927, allocations: 4 kB / 3.83 GB, free: 136.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/6.927, allocations: 8 kB / 3.83 GB, free: 136.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/6.928, allocations: 263.7 kB / 3.83 GB, free: 136.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/6.929, allocations: 1.353 MB / 3.831 GB, free: 134.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009654/6.93, allocations: 107.5 kB / 3.831 GB, free: 134.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.43e-05/6.93, allocations: 32 kB / 3.831 GB, free: 134.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.472e-06/6.93, allocations: 4 kB / 3.831 GB, free: 134.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001074/6.932, allocations: 0.6853 MB / 3.832 GB, free: 133.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/6.932, allocations: 4 kB / 3.832 GB, free: 133.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-06/6.932, allocations: 8.562 kB / 3.832 GB, free: 133.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/6.933, allocations: 267.7 kB / 3.832 GB, free: 133.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009/6.934, allocations: 1.357 MB / 3.834 GB, free: 132.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/6.935, allocations: 103.5 kB / 3.834 GB, free: 132 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.234e-05/6.935, allocations: 39.94 kB / 3.834 GB, free: 132 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.0002156/6.935, allocations: 128.7 kB / 3.834 GB, free: 131.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/6.936, allocations: 102.7 kB / 3.834 GB, free: 131.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/6.937, allocations: 0.8074 MB / 3.835 GB, free: 130.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/6.937, allocations: 8 kB / 3.835 GB, free: 130.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/6.937, allocations: 0 / 3.835 GB, free: 130.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001164/6.938, allocations: 0.7454 MB / 3.835 GB, free: 130.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003056/6.941, allocations: 1.88 MB / 3.837 GB, free: 128.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/6.942, allocations: 4 kB / 3.837 GB, free: 128.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007767/6.942, allocations: 160 kB / 3.837 GB, free: 128 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004192/6.943, allocations: 48.77 kB / 3.837 GB, free: 128 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.924e-05/6.943, allocations: 4 kB / 3.837 GB, free: 128 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/6.944, allocations: 1.322 MB / 3.839 GB, free: 126.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/6.944, allocations: 4 kB / 3.839 GB, free: 126.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001803/6.946, allocations: 1.34 MB / 3.84 GB, free: 125.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004166/6.946, allocations: 247.6 kB / 3.84 GB, free: 124.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/6.946, allocations: 8 kB / 3.84 GB, free: 124.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007313/6.947, allocations: 71.78 kB / 3.84 GB, free: 124.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.502e-05/6.947, allocations: 36.59 kB / 3.84 GB, free: 124.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.503e-05/6.947, allocations: 20 kB / 3.84 GB, free: 124.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005568/6.948, allocations: 472 kB / 3.841 GB, free: 124.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001746/6.949, allocations: 0.6505 MB / 3.842 GB, free: 123.6 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.002203/6.952, allocations: 2 MB / 3.843 GB, free: 121.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003089/6.955, allocations: 1.188 MB / 3.845 GB, free: 120.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/6.955, allocations: 0.8594 kB / 3.845 GB, free: 120.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000597/6.955, allocations: 430.6 kB / 3.845 GB, free: 120.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/6.957, allocations: 408.6 kB / 3.845 GB, free: 119.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003522/6.961, allocations: 1.682 MB / 3.847 GB, free: 118 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008182/6.962, allocations: 1.254 MB / 3.848 GB, free: 116.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.593e-06/6.962, allocations: 0 / 3.848 GB, free: 116.7 MB / 1.151 GB Notification: Performance of Templates: time 0.0421/7.004, allocations: 29.96 MB / 3.878 GB, free: 87.02 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (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 & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)