Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeInitialization") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeInitialization") [: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 1.6.0+build.1/package.mo): time 0.5149/0.5149, allocations: 94.74 MB / 102 MB, free: 10.33 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001262/0.001263, allocations: 181.3 kB / 125.3 MB, free: 11.95 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.416/1.416, allocations: 170.5 MB / 319 MB, free: 9.285 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001791/0.001791, allocations: 103 kB / 381 MB, free: 18.2 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.784e-06/7.824e-06, allocations: 4 kB / 448.6 MB, free: 2.062 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1697, allocations: 61.52 MB / 0.4981 GB, free: 4.449 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.246/1.416, allocations: 422.1 MB / 0.9103 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003413/1.416, allocations: 84.06 kB / 0.9104 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.7093/2.126, allocations: 201.7 MB / 1.107 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.592e-05/2.126, allocations: 20.72 kB / 1.107 GB, free: 107.1 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.003023/2.129, allocations: 1.183 MB / 1.109 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/2.129, allocations: 11.19 kB / 1.109 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003709/2.129, allocations: 110.5 kB / 1.109 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01358/2.143, allocations: 6.189 MB / 1.115 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.876e-05/2.143, allocations: 20.84 kB / 1.115 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003055/2.143, allocations: 33.06 kB / 1.115 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001771/2.145, allocations: 0.7984 MB / 1.116 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/2.147, allocations: 0.8403 MB / 1.116 GB, free: 106 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/2.147, allocations: 0 / 1.116 GB, free: 106 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/2.147, allocations: 7.438 kB / 1.116 GB, free: 106 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.74e-05/2.147, allocations: 56.72 kB / 1.116 GB, free: 106 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006635/2.154, allocations: 3.308 MB / 1.12 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005834/2.154, allocations: 308.3 kB / 1.12 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004067/2.155, allocations: 251.5 kB / 1.12 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002604/2.157, allocations: 1.878 MB / 1.122 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/2.157, allocations: 41.72 kB / 1.122 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 3.827e-06/2.157, allocations: 2.719 kB / 1.122 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.004761/2.162, allocations: 1.554 MB / 1.124 GB, free: 103 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/2.162, allocations: 158.2 kB / 1.124 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009771/2.163, allocations: 0.5827 MB / 1.124 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.679e-05/2.163, allocations: 25.7 kB / 1.124 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/2.164, allocations: 361.1 kB / 1.125 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/2.164, allocations: 143.2 kB / 1.125 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/2.164, allocations: 1.312 kB / 1.125 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001344/2.164, allocations: 378.7 kB / 1.125 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004194/2.164, allocations: 259.8 kB / 1.125 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005007/2.165, allocations: 468.1 kB / 1.126 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00629/2.171, allocations: 1.331 MB / 1.127 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/2.171, allocations: 5.094 kB / 1.127 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.007269/2.178, allocations: 1.888 MB / 1.129 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005834/2.179, allocations: 2.183 MB / 1.131 GB, free: 99.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/2.179, allocations: 6.656 kB / 1.131 GB, free: 99.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001681/2.179, allocations: 31.88 kB / 1.131 GB, free: 99.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007527/2.18, allocations: 162.1 kB / 1.131 GB, free: 99.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009092/2.181, allocations: 1.261 MB / 1.133 GB, free: 98.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/2.182, allocations: 33.58 kB / 1.133 GB, free: 98.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/2.182, allocations: 35.02 kB / 1.133 GB, free: 98.19 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/2.182, allocations: 3.75 kB / 1.133 GB, free: 98.19 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006589/2.189, allocations: 1.71 MB / 1.134 GB, free: 98.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/2.189, allocations: 7.812 kB / 1.134 GB, free: 98.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.534e-05/2.189, allocations: 41.83 kB / 1.134 GB, free: 98.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006808/2.19, allocations: 163.7 kB / 1.135 GB, free: 98.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007998/2.19, allocations: 1.247 MB / 1.136 GB, free: 96.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00089/2.191, allocations: 36.16 kB / 1.136 GB, free: 96.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.848e-05/2.191, allocations: 35.92 kB / 1.136 GB, free: 96.88 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002877/2.192, allocations: 125.2 kB / 1.136 GB, free: 96.76 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002849/2.192, allocations: 77.06 kB / 1.136 GB, free: 96.73 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001698/2.194, allocations: 0.7132 MB / 1.137 GB, free: 96.56 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/2.194, allocations: 6.156 kB / 1.137 GB, free: 96.56 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/2.194, allocations: 0 / 1.137 GB, free: 96.56 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/2.194, allocations: 3.906 kB / 1.137 GB, free: 96.55 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002711/2.196, allocations: 1.406 MB / 1.138 GB, free: 96.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/2.196, allocations: 3.75 kB / 1.138 GB, free: 96.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004545/2.197, allocations: 87.94 kB / 1.138 GB, free: 96.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.841e-05/2.197, allocations: 20.11 kB / 1.138 GB, free: 96.17 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-05/2.197, allocations: 7.875 kB / 1.138 GB, free: 96.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007233/2.198, allocations: 1.25 MB / 1.139 GB, free: 94.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/2.198, allocations: 4.688 kB / 1.139 GB, free: 94.97 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00166/2.2, allocations: 0.9847 MB / 1.14 GB, free: 94.69 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003735/2.2, allocations: 166.4 kB / 1.141 GB, free: 94.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/2.2, allocations: 7.734 kB / 1.141 GB, free: 94.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006496/2.201, allocations: 25.94 kB / 1.141 GB, free: 94.55 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.735e-05/2.201, allocations: 26.44 kB / 1.141 GB, free: 94.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.787e-05/2.201, allocations: 21.56 kB / 1.141 GB, free: 94.55 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0006607/2.202, allocations: 465.3 kB / 1.141 GB, free: 94.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003108/2.205, allocations: 0.7459 MB / 1.142 GB, free: 94.32 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (vol1.dynBal.medium.p,vol1.dynBal.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00283/2.208, allocations: 0.7761 MB / 1.143 GB, free: 94.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002214/2.21, allocations: 1.17 MB / 1.144 GB, free: 93.89 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/2.21, allocations: 3.875 kB / 1.144 GB, free: 93.89 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004333/2.21, allocations: 339.6 kB / 1.144 GB, free: 93.79 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/2.212, allocations: 310 kB / 1.144 GB, free: 93.79 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/2.215, allocations: 1.176 MB / 1.145 GB, free: 93.49 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/2.216, allocations: 1.103 MB / 1.147 GB, free: 92.79 MB / 0.5261 GB Notification: Performance of SimCode: time 2.074e-06/2.216, allocations: 0 / 1.147 GB, free: 92.79 MB / 0.5261 GB Notification: Performance of Templates: time 0.04922/2.266, allocations: 23.51 MB / 1.17 GB, free: 92.02 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeInitialization.makefile (rm -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeInitialization.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeInitialization.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeInitialization.sim & ./Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeInitialization.pipe 2>&1)