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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009642/0.0009643, allocations: 180.6 kB / 8.344 MB, free: 0.7148 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.769/1.769, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 84.8 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.554/0.554, allocations: 48.78 MB / 358.8 MB, free: 53.19 MB / 299.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 2.439e-05/2.474e-05, allocations: 4 kB / 425.3 MB, free: 8.227 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1532, allocations: 60.25 MB / 485.5 MB, free: 11.83 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.147/1.3, allocations: 355.7 MB / 0.8215 GB, free: 43.29 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/1.3, allocations: 80.16 kB / 0.8216 GB, free: 43.25 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 0.6222/1.923, allocations: 96.94 MB / 0.9163 GB, free: 148 MB / 0.5108 GB Notification: Performance of FrontEnd: time 3.326e-06/1.923, allocations: 0 / 0.9163 GB, free: 148 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 6.484e-05/1.923, allocations: 14.47 kB / 0.9163 GB, free: 148 MB / 0.5108 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.002328/1.925, allocations: 0.875 MB / 0.9171 GB, free: 147.4 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 6.746e-05/1.925, allocations: 6.75 kB / 0.9171 GB, free: 147.4 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006579/1.926, allocations: 107.4 kB / 0.9172 GB, free: 147.4 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009855/1.927, allocations: 498.8 kB / 0.9177 GB, free: 147.2 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.747e-05/1.927, allocations: 61.28 kB / 0.9178 GB, free: 147.1 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-05/1.927, allocations: 31.28 kB / 0.9178 GB, free: 147.1 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009875/1.928, allocations: 0.5109 MB / 0.9183 GB, free: 147.1 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/1.929, allocations: 0.5986 MB / 0.9189 GB, free: 147 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/1.929, allocations: 4 kB / 0.9189 GB, free: 147 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.087e-05/1.929, allocations: 3.438 kB / 0.9189 GB, free: 147 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/1.929, allocations: 13 kB / 0.9189 GB, free: 147 MB / 0.5108 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.004386/1.934, allocations: 2.64 MB / 0.9215 GB, free: 145.4 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008146/1.934, allocations: 386.4 kB / 0.9219 GB, free: 145.2 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003763/1.935, allocations: 202 kB / 0.922 GB, free: 145.1 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001658/1.937, allocations: 1.051 MB / 0.9231 GB, free: 144.4 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/1.937, allocations: 39.88 kB / 0.9231 GB, free: 144.3 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=50): time 1.743e-06/1.937, allocations: 0 / 0.9231 GB, free: 144.3 MB / 0.5108 GB Notification: Performance of matching and sorting (n=52): time 0.003974/1.941, allocations: 1.63 MB / 0.9247 GB, free: 143.4 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/1.941, allocations: 108.9 kB / 0.9248 GB, free: 143.3 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004828/1.941, allocations: 362.3 kB / 0.9252 GB, free: 143.1 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 6.232e-05/1.941, allocations: 28.45 kB / 0.9252 GB, free: 143.1 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002452/1.941, allocations: 317.9 kB / 0.9255 GB, free: 142.8 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/1.942, allocations: 178.2 kB / 0.9257 GB, free: 142.7 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/1.942, allocations: 8.938 kB / 0.9257 GB, free: 142.7 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.942, allocations: 361.7 kB / 0.926 GB, free: 142.3 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003438/1.942, allocations: 189.7 kB / 0.9262 GB, free: 142.3 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004791/1.943, allocations: 373.5 kB / 0.9265 GB, free: 142 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006119/1.943, allocations: 235.2 kB / 0.9268 GB, free: 141.9 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/1.943, allocations: 7.891 kB / 0.9268 GB, free: 141.9 MB / 0.5108 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001609/1.945, allocations: 0.7515 MB / 0.9275 GB, free: 141.6 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005748/1.945, allocations: 2.086 MB / 0.9295 GB, free: 139.3 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/1.946, allocations: 9.438 kB / 0.9296 GB, free: 139.3 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/1.947, allocations: 383.1 kB / 0.9299 GB, free: 139.2 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005121/1.947, allocations: 128.3 kB / 0.93 GB, free: 139.2 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/1.949, allocations: 1.504 MB / 0.9315 GB, free: 138 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006475/1.949, allocations: 73.62 kB / 0.9316 GB, free: 138 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/1.949, allocations: 64.58 kB / 0.9316 GB, free: 138 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/1.949, allocations: 7.172 kB / 0.9317 GB, free: 138 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001563/1.951, allocations: 0.6095 MB / 0.9322 GB, free: 137.8 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/1.951, allocations: 5.219 kB / 0.9323 GB, free: 137.8 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005426/1.952, allocations: 264.6 kB / 0.9325 GB, free: 137.7 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005939/1.952, allocations: 143.1 kB / 0.9326 GB, free: 137.7 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/1.954, allocations: 2.361 MB / 0.9349 GB, free: 135.6 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005599/1.955, allocations: 66.27 kB / 0.935 GB, free: 135.6 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.087e-05/1.955, allocations: 31.58 kB / 0.935 GB, free: 135.6 MB / 0.5108 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.0003022/1.955, allocations: 132.5 kB / 0.9352 GB, free: 135.5 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/1.956, allocations: 60.98 kB / 0.9352 GB, free: 135.5 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/1.957, allocations: 0.6445 MB / 0.9359 GB, free: 135.2 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/1.957, allocations: 9.062 kB / 0.9359 GB, free: 135.2 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/1.957, allocations: 0 / 0.9359 GB, free: 135.2 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/1.957, allocations: 3.953 kB / 0.9359 GB, free: 135.2 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002483/1.96, allocations: 1.238 MB / 0.9371 GB, free: 134.6 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/1.96, allocations: 4.938 kB / 0.9371 GB, free: 134.6 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004088/1.96, allocations: 85.78 kB / 0.9372 GB, free: 134.6 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008476/1.961, allocations: 328.3 kB / 0.9375 GB, free: 134.5 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.864e-05/1.961, allocations: 15.47 kB / 0.9375 GB, free: 134.5 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/1.962, allocations: 1.434 MB / 0.9389 GB, free: 133.3 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.962, allocations: 11.59 kB / 0.9389 GB, free: 133.3 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/1.964, allocations: 0.8899 MB / 0.9398 GB, free: 132.9 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003037/1.965, allocations: 200.6 kB / 0.94 GB, free: 132.7 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.661e-05/1.965, allocations: 3.406 kB / 0.94 GB, free: 132.7 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006267/1.965, allocations: 74.91 kB / 0.94 GB, free: 132.7 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002534/1.966, allocations: 78.08 kB / 0.9401 GB, free: 132.7 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/1.966, allocations: 63.25 kB / 0.9402 GB, free: 132.7 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0004037/1.966, allocations: 270.2 kB / 0.9404 GB, free: 132.5 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.4e-07/1.966, allocations: 0 / 0.9404 GB, free: 132.5 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.001946/1.968, allocations: 384.2 kB / 0.9408 GB, free: 132.5 MB / 0.5108 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.0009187/1.969, allocations: 351.3 kB / 0.9411 GB, free: 132.3 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.002189/1.971, allocations: 1.007 MB / 0.9421 GB, free: 131.9 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.971, allocations: 0 / 0.9421 GB, free: 131.9 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.0005268/1.972, allocations: 273.9 kB / 0.9424 GB, free: 131.8 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009496/1.973, allocations: 157.5 kB / 0.9425 GB, free: 131.8 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/1.974, allocations: 0.8266 MB / 0.9433 GB, free: 131.3 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/1.975, allocations: 0.8954 MB / 0.9442 GB, free: 130.6 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.0007908/1.976, allocations: 188.4 kB / 0.9444 GB, free: 130.5 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.984e-05/1.976, allocations: 38.52 kB / 0.9444 GB, free: 130.5 MB / 0.5108 GB Notification: Performance of SimCode: time 2.41e-07/1.976, allocations: 0 / 0.9444 GB, free: 130.5 MB / 0.5108 GB Notification: Performance of Templates: time 0.02569/2.001, allocations: 16.86 MB / 0.9609 GB, free: 127 MB / 0.5108 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)