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.00168/0.00168, allocations: 175.6 kB / 13.63 MB, free: 1.684 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.712/1.712, allocations: 205.2 MB / 219.4 MB, free: 14.19 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.0008937/0.0008938, allocations: 90.75 kB / 267.5 MB, free: 14.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3604/0.3604, allocations: 48.78 MB / 364.3 MB, free: 6.867 MB / 266.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 3.557e-05/3.563e-05, allocations: 0 / 432.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1537, allocations: 60.26 MB / 492.8 MB, free: 4.273 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.184/1.337, allocations: 356.5 MB / 0.8294 GB, free: 76.13 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/1.338, allocations: 79.22 kB / 0.8294 GB, free: 76.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.6137/1.951, allocations: 97.43 MB / 0.9246 GB, free: 154.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.517e-06/1.951, allocations: 7.812 kB / 0.9246 GB, free: 154.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.698e-05/1.951, allocations: 16.38 kB / 0.9246 GB, free: 154.3 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.001944/1.953, allocations: 0.869 MB / 0.9255 GB, free: 153.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.096e-05/1.953, allocations: 9.5 kB / 0.9255 GB, free: 153.8 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001404/1.954, allocations: 99.27 kB / 0.9256 GB, free: 153.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005851/1.954, allocations: 99.19 kB / 0.9257 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/1.955, allocations: 0.4909 MB / 0.9261 GB, free: 153.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/1.955, allocations: 80.53 kB / 0.9262 GB, free: 153.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/1.956, allocations: 58.86 kB / 0.9263 GB, free: 153.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/1.957, allocations: 0.672 MB / 0.9269 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/1.957, allocations: 5.703 kB / 0.9269 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.21e-05/1.957, allocations: 29.16 kB / 0.927 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.581e-05/1.957, allocations: 13.88 kB / 0.927 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/1.958, allocations: 0.5276 MB / 0.9275 GB, free: 153.3 MB / 0.5105 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.004566/1.963, allocations: 2.752 MB / 0.9302 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008631/1.964, allocations: 393.4 kB / 0.9306 GB, free: 151.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004092/1.964, allocations: 221.1 kB / 0.9308 GB, free: 151.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001821/1.966, allocations: 1.073 MB / 0.9318 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/1.966, allocations: 41.09 kB / 0.9318 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=50): time 5.18e-06/1.966, allocations: 0 / 0.9318 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.003773/1.97, allocations: 1.607 MB / 0.9334 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.595e-05/1.97, allocations: 111.6 kB / 0.9335 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006839/1.971, allocations: 447.7 kB / 0.934 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.97e-05/1.971, allocations: 43.08 kB / 0.934 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/1.971, allocations: 299.8 kB / 0.9343 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/1.971, allocations: 188.9 kB / 0.9345 GB, free: 150 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/1.971, allocations: 14.03 kB / 0.9345 GB, free: 150 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.971, allocations: 374.1 kB / 0.9348 GB, free: 149.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003088/1.972, allocations: 196.8 kB / 0.935 GB, free: 149.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004374/1.972, allocations: 381.3 kB / 0.9354 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003788/1.972, allocations: 215.7 kB / 0.9356 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.972, allocations: 0 / 0.9356 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001335/1.974, allocations: 0.78 MB / 0.9363 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008623/1.975, allocations: 2.104 MB / 0.9384 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.329e-05/1.975, allocations: 7.172 kB / 0.9384 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/1.976, allocations: 387.3 kB / 0.9388 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005002/1.976, allocations: 135 kB / 0.9389 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/1.978, allocations: 1.413 MB / 0.9403 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007079/1.978, allocations: 83.97 kB / 0.9404 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/1.979, allocations: 66 kB / 0.9404 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/1.979, allocations: 10.06 kB / 0.9404 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001348/1.98, allocations: 0.6825 MB / 0.9411 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/1.98, allocations: 7.781 kB / 0.9411 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004643/1.98, allocations: 263.6 kB / 0.9414 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005703/1.981, allocations: 148.5 kB / 0.9415 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/1.983, allocations: 2.465 MB / 0.9439 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006228/1.984, allocations: 78.47 kB / 0.944 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.839e-05/1.984, allocations: 31.34 kB / 0.944 GB, free: 144.3 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 () * 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.0002755/1.984, allocations: 152.9 kB / 0.9442 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/1.985, allocations: 67.22 kB / 0.9442 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001416/1.986, allocations: 0.6705 MB / 0.9449 GB, free: 144 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/1.986, allocations: 8.969 kB / 0.9449 GB, free: 144 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/1.986, allocations: 0 / 0.9449 GB, free: 144 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/1.986, allocations: 5.969 kB / 0.9449 GB, free: 144 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/1.988, allocations: 1.334 MB / 0.9462 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/1.988, allocations: 0 / 0.9462 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003762/1.989, allocations: 78.64 kB / 0.9463 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00109/1.99, allocations: 355.1 kB / 0.9466 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.625e-05/1.99, allocations: 27.95 kB / 0.9466 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009602/1.991, allocations: 1.368 MB / 0.948 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.991, allocations: 2.969 kB / 0.948 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/1.992, allocations: 0.9275 MB / 0.9489 GB, free: 142.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003562/1.993, allocations: 200.9 kB / 0.9491 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/1.993, allocations: 19.75 kB / 0.9491 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005744/1.993, allocations: 74.77 kB / 0.9492 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/1.994, allocations: 80.95 kB / 0.9492 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.378e-05/1.994, allocations: 62.83 kB / 0.9493 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000394/1.994, allocations: 349.2 kB / 0.9496 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/1.994, allocations: 0 / 0.9496 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001588/1.996, allocations: 429.5 kB / 0.95 GB, free: 142.2 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) * 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.002531/1.998, allocations: 1.711 MB / 0.9517 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001977/2, allocations: 1.068 MB / 0.9528 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/2, allocations: 3.859 kB / 0.9528 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006082/2.001, allocations: 286.5 kB / 0.953 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/2.002, allocations: 221.8 kB / 0.9533 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/2.005, allocations: 1.028 MB / 0.9543 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/2.005, allocations: 0.8917 MB / 0.9551 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009034/2.006, allocations: 200.1 kB / 0.9553 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/2.006, allocations: 192.3 kB / 0.9555 GB, free: 140 MB / 0.5105 GB Notification: Performance of SimCode: time 1.232e-06/2.006, allocations: 0 / 0.9555 GB, free: 140 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04738/2.054, allocations: 25.28 MB / 0.9802 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/2.054, allocations: 175.2 kB / 0.9804 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.238/5.292, allocations: 0 / 0.9804 GB, free: 133.9 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)