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: "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestFanMech,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestFanMech",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestFanMech,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestFanMech",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001516/0.001516, allocations: 176.4 kB / 8.346 MB, free: 0.7266 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.613/1.613, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.0008766/0.0008766, allocations: 86.92 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.5876/0.5876, allocations: 48.77 MB / 358.8 MB, free: 53.18 MB / 299.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 2.033e-05/2.016e-05, allocations: 0 / 425.4 MB, free: 8.141 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1601, allocations: 60.27 MB / 485.7 MB, free: 11.73 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.164/1.324, allocations: 355.7 MB / 0.8216 GB, free: 42.99 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004346/1.325, allocations: 80.52 kB / 0.8217 GB, free: 42.95 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 0.5443/1.869, allocations: 96.92 MB / 0.9163 GB, free: 147.8 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.294e-06/1.869, allocations: 2.75 kB / 0.9163 GB, free: 147.8 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 5.149e-05/1.869, allocations: 17.92 kB / 0.9164 GB, free: 147.8 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.001895/1.871, allocations: 0.871 MB / 0.9172 GB, free: 147.2 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 6.166e-05/1.871, allocations: 14.55 kB / 0.9172 GB, free: 147.2 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005576/1.872, allocations: 104.2 kB / 0.9173 GB, free: 147.2 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/1.873, allocations: 495.9 kB / 0.9178 GB, free: 146.9 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/1.873, allocations: 59.98 kB / 0.9178 GB, free: 146.9 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.842e-05/1.873, allocations: 34.22 kB / 0.9179 GB, free: 146.9 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008587/1.874, allocations: 0.5104 MB / 0.9184 GB, free: 146.9 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/1.875, allocations: 0.6016 MB / 0.919 GB, free: 146.8 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/1.875, allocations: 5.094 kB / 0.919 GB, free: 146.8 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.319e-05/1.875, allocations: 1.594 kB / 0.919 GB, free: 146.8 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/1.875, allocations: 14.47 kB / 0.919 GB, free: 146.8 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.004984/1.88, allocations: 2.638 MB / 0.9216 GB, free: 145.2 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008939/1.881, allocations: 385 kB / 0.9219 GB, free: 145.1 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004007/1.882, allocations: 206.5 kB / 0.9221 GB, free: 145 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001777/1.883, allocations: 1.052 MB / 0.9232 GB, free: 144.2 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/1.883, allocations: 43.06 kB / 0.9232 GB, free: 144.2 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=50): time 3.958e-06/1.883, allocations: 3.938 kB / 0.9232 GB, free: 144.2 MB / 0.5108 GB Notification: Performance of matching and sorting (n=52): time 0.004038/1.887, allocations: 1.628 MB / 0.9248 GB, free: 143.3 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/1.888, allocations: 106.9 kB / 0.9249 GB, free: 143.1 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004152/1.888, allocations: 365.4 kB / 0.9252 GB, free: 142.9 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 5.954e-05/1.888, allocations: 25.7 kB / 0.9253 GB, free: 142.9 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/1.888, allocations: 317.3 kB / 0.9256 GB, free: 142.6 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/1.888, allocations: 181.8 kB / 0.9257 GB, free: 142.5 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/1.889, allocations: 0 / 0.9257 GB, free: 142.5 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001435/1.889, allocations: 361.9 kB / 0.9261 GB, free: 142.2 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/1.889, allocations: 190.8 kB / 0.9263 GB, free: 142.1 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/1.889, allocations: 378.1 kB / 0.9266 GB, free: 141.8 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005459/1.89, allocations: 229.1 kB / 0.9268 GB, free: 141.7 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.89, allocations: 3.953 kB / 0.9269 GB, free: 141.7 MB / 0.5108 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001594/1.892, allocations: 0.7548 MB / 0.9276 GB, free: 141.4 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005822/1.892, allocations: 2.089 MB / 0.9296 GB, free: 139.2 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-05/1.892, allocations: 7.031 kB / 0.9296 GB, free: 139.2 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/1.893, allocations: 385.7 kB / 0.93 GB, free: 139.1 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005525/1.894, allocations: 132.1 kB / 0.9301 GB, free: 139.1 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/1.895, allocations: 1.498 MB / 0.9316 GB, free: 137.9 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007316/1.896, allocations: 76.7 kB / 0.9317 GB, free: 137.8 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/1.896, allocations: 68.73 kB / 0.9317 GB, free: 137.8 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/1.896, allocations: 8.078 kB / 0.9317 GB, free: 137.8 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001614/1.898, allocations: 0.6008 MB / 0.9323 GB, free: 137.6 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/1.898, allocations: 6.562 kB / 0.9323 GB, free: 137.6 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006361/1.899, allocations: 261.9 kB / 0.9326 GB, free: 137.5 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006739/1.899, allocations: 154.1 kB / 0.9327 GB, free: 137.5 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002794/1.902, allocations: 2.359 MB / 0.935 GB, free: 135.5 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007603/1.903, allocations: 71.03 kB / 0.9351 GB, free: 135.4 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.277e-05/1.903, allocations: 30.75 kB / 0.9351 GB, free: 135.4 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.0004804/1.903, allocations: 133.8 kB / 0.9353 GB, free: 135.3 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001902/1.905, allocations: 0.5641 MB / 0.9358 GB, free: 135.1 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/1.906, allocations: 56.22 kB / 0.9359 GB, free: 135.1 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001955/1.908, allocations: 0.6466 MB / 0.9365 GB, free: 134.8 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/1.908, allocations: 4.781 kB / 0.9365 GB, free: 134.8 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/1.908, allocations: 1.156 kB / 0.9365 GB, free: 134.8 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/1.908, allocations: 3.75 kB / 0.9365 GB, free: 134.8 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003179/1.911, allocations: 1.245 MB / 0.9377 GB, free: 134.2 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/1.911, allocations: 0 / 0.9377 GB, free: 134.2 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004434/1.911, allocations: 80.88 kB / 0.9378 GB, free: 134.2 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00107/1.912, allocations: 337.9 kB / 0.9381 GB, free: 134.1 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.084e-05/1.912, allocations: 12.31 kB / 0.9381 GB, free: 134.1 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/1.914, allocations: 1.432 MB / 0.9395 GB, free: 132.9 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.914, allocations: 0 / 0.9395 GB, free: 132.9 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00234/1.917, allocations: 0.9006 MB / 0.9404 GB, free: 132.5 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004139/1.917, allocations: 189.6 kB / 0.9406 GB, free: 132.3 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/1.917, allocations: 7.328 kB / 0.9406 GB, free: 132.3 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006339/1.918, allocations: 69.92 kB / 0.9407 GB, free: 132.3 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002363/1.918, allocations: 77.62 kB / 0.9407 GB, free: 132.3 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/1.918, allocations: 65.08 kB / 0.9408 GB, free: 132.3 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0005567/1.919, allocations: 275 kB / 0.9411 GB, free: 132.2 MB / 0.5108 GB Notification: Performance of sort global known variables: time 6.41e-07/1.919, allocations: 0 / 0.9411 GB, free: 132.2 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.002446/1.921, allocations: 385.5 kB / 0.9414 GB, free: 132.1 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.00374/1.925, allocations: 1.688 MB / 0.9431 GB, free: 131.1 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.002869/1.928, allocations: 1 MB / 0.9441 GB, free: 130.6 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/1.928, allocations: 4 kB / 0.9441 GB, free: 130.6 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.0005511/1.929, allocations: 271.4 kB / 0.9443 GB, free: 130.5 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/1.93, allocations: 168.6 kB / 0.9445 GB, free: 130.5 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/1.933, allocations: 0.9672 MB / 0.9454 GB, free: 130 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/1.933, allocations: 0.8921 MB / 0.9463 GB, free: 129.3 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.0009749/1.934, allocations: 178 kB / 0.9465 GB, free: 129.2 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/1.934, allocations: 186.1 kB / 0.9466 GB, free: 129.1 MB / 0.5108 GB Notification: Performance of SimCode: time 1.664e-06/1.934, allocations: 0 / 0.9466 GB, free: 129.1 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05129/1.986, allocations: 21.61 MB / 0.9677 GB, free: 123.1 MB / 0.5108 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/1.986, allocations: 125.2 kB / 0.9679 GB, free: 122.9 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.151/5.137, allocations: 3.938 kB / 0.9679 GB, free: 122.9 MB / 0.5108 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestFanMech_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestFanMech.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestFanMech.pipe 2>&1)