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.001219/0.001218, allocations: 180.2 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.0009615/0.0009618, allocations: 97.27 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5241/0.5241, allocations: 48.77 MB / 367.9 MB, free: 47.44 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003644, allocations: 8 kB / 438.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1665, allocations: 60.24 MB / 499 MB, free: 14.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.037/1.204, allocations: 356.4 MB / 0.8354 GB, free: 36.34 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005106/1.205, allocations: 88.27 kB / 0.8355 GB, free: 36.29 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.5742/1.779, allocations: 97.83 MB / 0.931 GB, free: 151.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.264e-06/1.779, allocations: 0 / 0.931 GB, free: 151.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.16e-05/1.779, allocations: 21.53 kB / 0.931 GB, free: 151.8 MB / 0.5105 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.002219/1.781, allocations: 0.9445 MB / 0.9319 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.809e-05/1.781, allocations: 9.781 kB / 0.9319 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001624/1.781, allocations: 101.6 kB / 0.932 GB, free: 151 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000653/1.782, allocations: 99.34 kB / 0.9321 GB, free: 151 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/1.783, allocations: 498 kB / 0.9326 GB, free: 150.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/1.783, allocations: 81.33 kB / 0.9327 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/1.783, allocations: 57.62 kB / 0.9327 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/1.785, allocations: 0.718 MB / 0.9334 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/1.785, allocations: 1.125 kB / 0.9334 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.673e-05/1.785, allocations: 23.16 kB / 0.9335 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.914e-05/1.785, allocations: 13.84 kB / 0.9335 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/1.787, allocations: 0.5931 MB / 0.9341 GB, free: 150.1 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005387/1.792, allocations: 2.756 MB / 0.9367 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/1.793, allocations: 428.6 kB / 0.9372 GB, free: 148 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001699/1.795, allocations: 1.07 MB / 0.9382 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/1.795, allocations: 41.22 kB / 0.9382 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=50): time 2.535e-06/1.795, allocations: 0 / 0.9382 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.006306/1.801, allocations: 2.397 MB / 0.9406 GB, free: 145.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/1.801, allocations: 116.9 kB / 0.9407 GB, free: 145.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000691/1.802, allocations: 453.9 kB / 0.9411 GB, free: 145.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.862e-05/1.802, allocations: 37.67 kB / 0.9412 GB, free: 145.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/1.802, allocations: 310 kB / 0.9415 GB, free: 145.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/1.802, allocations: 181.8 kB / 0.9416 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/1.803, allocations: 11.97 kB / 0.9416 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001556/1.803, allocations: 370.6 kB / 0.942 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004901/1.803, allocations: 231.4 kB / 0.9422 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006036/1.804, allocations: 427 kB / 0.9426 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000478/1.804, allocations: 239.8 kB / 0.9429 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/1.804, allocations: 3.438 kB / 0.9429 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001639/1.806, allocations: 0.8504 MB / 0.9437 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007665/1.807, allocations: 2.092 MB / 0.9457 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.934e-05/1.807, allocations: 7.906 kB / 0.9457 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001611/1.808, allocations: 419.8 kB / 0.9461 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005481/1.809, allocations: 135.9 kB / 0.9463 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/1.81, allocations: 1.42 MB / 0.9477 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008814/1.811, allocations: 87.48 kB / 0.9477 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/1.811, allocations: 74.59 kB / 0.9478 GB, free: 140 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/1.811, allocations: 3.969 kB / 0.9478 GB, free: 140 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001626/1.813, allocations: 0.7263 MB / 0.9485 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/1.813, allocations: 7.328 kB / 0.9485 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005502/1.814, allocations: 282.2 kB / 0.9488 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005659/1.814, allocations: 152.1 kB / 0.9489 GB, free: 139.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00268/1.817, allocations: 2.471 MB / 0.9514 GB, free: 137.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008807/1.818, allocations: 86.09 kB / 0.9514 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.4e-05/1.818, allocations: 30.52 kB / 0.9515 GB, free: 137.1 MB / 0.5105 GB 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 () * Number of clocked 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,3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0007306/1.819, allocations: 280.9 kB / 0.9517 GB, free: 136.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/1.819, allocations: 60.94 kB / 0.9518 GB, free: 136.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0018/1.821, allocations: 0.7407 MB / 0.9525 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/1.821, allocations: 7.438 kB / 0.9525 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.821, allocations: 0 / 0.9525 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/1.821, allocations: 0 / 0.9525 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003031/1.824, allocations: 1.397 MB / 0.9539 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.535e-06/1.824, allocations: 0 / 0.9539 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004786/1.824, allocations: 79.2 kB / 0.954 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001182/1.826, allocations: 369.1 kB / 0.9543 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-05/1.826, allocations: 25.88 kB / 0.9543 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/1.827, allocations: 1.374 MB / 0.9557 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/1.827, allocations: 3 kB / 0.9557 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001945/1.829, allocations: 1.016 MB / 0.9567 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004607/1.829, allocations: 198.8 kB / 0.9569 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/1.829, allocations: 19.88 kB / 0.9569 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006004/1.83, allocations: 76.31 kB / 0.957 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/1.83, allocations: 85.91 kB / 0.957 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.689e-05/1.83, allocations: 62.95 kB / 0.9571 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004809/1.831, allocations: 347.7 kB / 0.9574 GB, free: 133 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/1.831, allocations: 3.719 kB / 0.9574 GB, free: 133 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001813/1.832, allocations: 425 kB / 0.9578 GB, free: 132.9 MB / 0.5105 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) * Number of clocked states: 0 () * 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,1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.003032/1.836, allocations: 1.799 MB / 0.9596 GB, free: 131.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002782/1.838, allocations: 1.134 MB / 0.9607 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/1.838, allocations: 0 / 0.9607 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006941/1.839, allocations: 326.7 kB / 0.961 GB, free: 131 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/1.84, allocations: 223.5 kB / 0.9612 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00414/1.845, allocations: 5.536 MB / 0.9666 GB, free: 125.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/1.845, allocations: 0.8847 MB / 0.9675 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006987/1.846, allocations: 124.1 kB / 0.9676 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000324/1.846, allocations: 219.5 kB / 0.9678 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.243e-06/1.846, allocations: 0 / 0.9678 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05122/1.897, allocations: 23.9 MB / 0.9912 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/1.897, allocations: 192.2 kB / 0.9913 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.185/5.083, allocations: 0 / 0.9913 GB, free: 104.6 MB / 0.5105 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)