Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestFanMech.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.GasComponents.TestFanMech,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestFanMech") translateModel(ThermoPower.Test.GasComponents.TestFanMech,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestFanMech") [: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/Complex 3.2.3+maint.om/package.mo): time 0.0009267/0.0009268, allocations: 189.3 kB / 8.132 MB, free: 2.078 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.065/1.065, allocations: 205.2 MB / 213.7 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008102/0.0008102, allocations: 94.84 kB / 261.8 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3413/0.3413, allocations: 48.75 MB / 358.4 MB, free: 53.07 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 6.712e-06/6.742e-06, allocations: 0 / 424.7 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.106, allocations: 60.25 MB / 485 MB, free: 11.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6119/0.718, allocations: 355.6 MB / 0.8209 GB, free: 44.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/0.7182, allocations: 77.94 kB / 0.821 GB, free: 44.57 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.3787/1.097, allocations: 97.43 MB / 0.9161 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6e-05/1.097, allocations: 17.41 kB / 0.9161 GB, free: 133.8 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002097/1.099, allocations: 0.8807 MB / 0.917 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/1.099, allocations: 9.906 kB / 0.917 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000785/1.1, allocations: 122.7 kB / 0.9171 GB, free: 133.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/1.101, allocations: 498.5 kB / 0.9176 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.437e-05/1.101, allocations: 57.14 kB / 0.9176 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/1.101, allocations: 37.69 kB / 0.9177 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009432/1.102, allocations: 0.5104 MB / 0.9182 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009682/1.103, allocations: 0.5999 MB / 0.9188 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/1.103, allocations: 0 / 0.9188 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.099e-05/1.103, allocations: 0 / 0.9188 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/1.104, allocations: 14.33 kB / 0.9188 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00426/1.108, allocations: 2.65 MB / 0.9214 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004645/1.108, allocations: 263.5 kB / 0.9216 GB, free: 130.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002944/1.109, allocations: 214.2 kB / 0.9218 GB, free: 130.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00171/1.11, allocations: 1.035 MB / 0.9228 GB, free: 129.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/1.11, allocations: 38.09 kB / 0.9229 GB, free: 129.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=50): time 1.734e-06/1.11, allocations: 0 / 0.9229 GB, free: 129.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52): time 0.004052/1.114, allocations: 1.611 MB / 0.9244 GB, free: 128.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/1.114, allocations: 110.1 kB / 0.9245 GB, free: 128.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000399/1.115, allocations: 364.3 kB / 0.9249 GB, free: 128.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.87e-05/1.115, allocations: 29.55 kB / 0.9249 GB, free: 128.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/1.115, allocations: 267.7 kB / 0.9252 GB, free: 128 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/1.115, allocations: 174.9 kB / 0.9253 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/1.115, allocations: 0 / 0.9253 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.871e-05/1.115, allocations: 361.4 kB / 0.9257 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/1.116, allocations: 193.7 kB / 0.9259 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003815/1.116, allocations: 379.3 kB / 0.9262 GB, free: 127.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006408/1.117, allocations: 230 kB / 0.9265 GB, free: 127.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/1.117, allocations: 4 kB / 0.9265 GB, free: 127.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001534/1.118, allocations: 0.7592 MB / 0.9272 GB, free: 126.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003669/1.119, allocations: 2.092 MB / 0.9292 GB, free: 124.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/1.119, allocations: 6.219 kB / 0.9292 GB, free: 124.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009807/1.12, allocations: 380.2 kB / 0.9296 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005192/1.12, allocations: 133.8 kB / 0.9297 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/1.122, allocations: 1.521 MB / 0.9312 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007282/1.122, allocations: 81.52 kB / 0.9313 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/1.123, allocations: 63.75 kB / 0.9314 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.345e-06/1.123, allocations: 4.031 kB / 0.9314 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001389/1.124, allocations: 0.6064 MB / 0.932 GB, free: 123 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/1.124, allocations: 7.156 kB / 0.932 GB, free: 123 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004862/1.124, allocations: 257.5 kB / 0.9322 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005807/1.125, allocations: 151.6 kB / 0.9324 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/1.127, allocations: 2.344 MB / 0.9346 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006081/1.128, allocations: 77.67 kB / 0.9347 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.776e-05/1.128, allocations: 33.3 kB / 0.9347 GB, free: 120.8 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: FanMech1.dp:VARIABLE(unit = "Pa" ) "Outlet pressure minus inlet pressure" type: Real FanMech1.s:VARIABLE() "Auxiliary Variable" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Clutch1.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 8 (Clutch1.free,$PRE.Clutch1.startForward,Clutch1.startForward,$PRE.Clutch1.startBackward,Clutch1.startBackward,Clutch1.locked,$PRE.Clutch1.mode,Clutch1.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,4 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002576/1.128, allocations: 122.4 kB / 0.9349 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/1.128, allocations: 61.39 kB / 0.9349 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/1.13, allocations: 0.6711 MB / 0.9356 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/1.13, allocations: 7.125 kB / 0.9356 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/1.13, allocations: 3.906 kB / 0.9356 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/1.13, allocations: 7.375 kB / 0.9356 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/1.132, allocations: 1.24 MB / 0.9368 GB, free: 119.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/1.132, allocations: 4 kB / 0.9368 GB, free: 119.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003678/1.132, allocations: 77.59 kB / 0.9369 GB, free: 119.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007176/1.133, allocations: 330 kB / 0.9372 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.796e-05/1.133, allocations: 13.83 kB / 0.9372 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/1.134, allocations: 1.45 MB / 0.9386 GB, free: 118.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.134, allocations: 3.984 kB / 0.9386 GB, free: 118.1 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001553/1.136, allocations: 0.9071 MB / 0.9395 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002757/1.136, allocations: 187.7 kB / 0.9397 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/1.136, allocations: 3.125 kB / 0.9397 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005989/1.137, allocations: 79.27 kB / 0.9398 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/1.137, allocations: 73.05 kB / 0.9398 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.14e-05/1.137, allocations: 63.42 kB / 0.9399 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002308/1.137, allocations: 270.9 kB / 0.9402 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001241/1.139, allocations: 379.2 kB / 0.9405 GB, free: 117.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (ConstantSpeed1.phi,Clutch1.phi_rel,Clutch1.w_rel) * Number of discrete variables: 5 (Clutch1.free,Clutch1.startForward,Clutch1.startBackward,Clutch1.locked,Clutch1.mode) * Number of discrete states: 3 (Clutch1.mode,Clutch1.startBackward,Clutch1.startForward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,2 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007785/1.139, allocations: 369 kB / 0.9409 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001572/1.141, allocations: 1.001 MB / 0.9419 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.141, allocations: 0 / 0.9419 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004483/1.141, allocations: 259.8 kB / 0.9421 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008381/1.142, allocations: 150.6 kB / 0.9422 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/1.144, allocations: 0.8618 MB / 0.9431 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005155/1.145, allocations: 0.9599 MB / 0.944 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of SimCode: time 2.51e-07/1.145, allocations: 3.938 kB / 0.944 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.02449/1.169, allocations: 18.68 MB / 0.9623 GB, free: 101 MB / 0.4948 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestFanMech.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestFanMech.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestFanMech.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestFanMech.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestFanMech.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestFanMech -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestFanMech.pipe 2>&1)