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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 89.59 kB / 16.65 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008816/0.0008816, allocations: 182 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.12/1.12, allocations: 205.4 MB / 223.7 MB, free: 13 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2162/0.2162, allocations: 48.79 MB / 320.8 MB, free: 11.09 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "Dassl" Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004468/0.0004468, allocations: 19.94 kB / 391.9 MB, free: 49.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07415/0.07461, allocations: 60.26 MB / 452.2 MB, free: 9.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestFanMech): time 0.2804/0.355, allocations: 142.9 MB / 0.5811 GB, free: 15.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002897/0.3579, allocations: 2.27 MB / 0.5834 GB, free: 15.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002627/0.3582, allocations: 10.69 kB / 0.5834 GB, free: 15.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005214/0.3587, allocations: 225.1 kB / 0.5836 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.3598, allocations: 0.8912 MB / 0.5845 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.3612, allocations: 0.9323 MB / 0.5854 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001267/0.3625, allocations: 1.973 MB / 0.5873 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000464/0.3629, allocations: 478.5 kB / 0.5878 GB, free: 13.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005857/0.3635, allocations: 0.6231 MB / 0.5884 GB, free: 13.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006726/0.3642, allocations: 0.7996 MB / 0.5891 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.392e-05/0.3643, allocations: 35.97 kB / 0.5892 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.3653, allocations: 1.113 MB / 0.5903 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.3655, allocations: 178.2 kB / 0.5904 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002815/0.3658, allocations: 399 kB / 0.5908 GB, free: 12.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009122/0.3667, allocations: 1.197 MB / 0.592 GB, free: 12.13 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.3667, allocations: 3.5 kB / 0.592 GB, free: 12.13 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3667, allocations: 0 / 0.592 GB, free: 12.13 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.3667, allocations: 3.938 kB / 0.592 GB, free: 12.13 MB / 430.1 MB 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.001383/0.3681, allocations: 0.9214 MB / 0.5929 GB, free: 11.44 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.3681, allocations: 10.75 kB / 0.5929 GB, free: 11.44 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001027/0.3682, allocations: 95.61 kB / 0.593 GB, free: 11.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004573/0.3687, allocations: 98.81 kB / 0.5931 GB, free: 11.35 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004872/0.3692, allocations: 470.6 kB / 0.5935 GB, free: 11.01 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.247e-05/0.3693, allocations: 80.3 kB / 0.5936 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.208e-05/0.3694, allocations: 61.67 kB / 0.5937 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.3704, allocations: 0.7342 MB / 0.5944 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.3704, allocations: 0 / 0.5944 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-05/0.3705, allocations: 26.72 kB / 0.5944 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.3705, allocations: 10.97 kB / 0.5944 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009691/0.3715, allocations: 0.6214 MB / 0.595 GB, free: 10.59 MB / 430.1 MB 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.003295/0.3748, allocations: 2.879 MB / 0.5978 GB, free: 8.355 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007257/0.3755, allocations: 432.9 kB / 0.5983 GB, free: 8.141 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004073/0.3759, allocations: 252.1 kB / 0.5985 GB, free: 8.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00126/0.3772, allocations: 1.08 MB / 0.5995 GB, free: 7.082 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.3772, allocations: 43.88 kB / 0.5996 GB, free: 7.035 MB / 430.1 MB Notification: Performance of pre-optimization done (n=49): time 1.553e-06/0.3773, allocations: 0 / 0.5996 GB, free: 7.035 MB / 430.1 MB Notification: Performance of matching and sorting (n=51): time 0.005432/0.3827, allocations: 2.504 MB / 0.602 GB, free: 5.473 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.3828, allocations: 115.2 kB / 0.6021 GB, free: 5.344 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004633/0.3832, allocations: 0.5145 MB / 0.6026 GB, free: 5.031 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.745e-05/0.3833, allocations: 39.98 kB / 0.6027 GB, free: 4.988 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.3835, allocations: 312.9 kB / 0.603 GB, free: 4.715 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.3836, allocations: 174.6 kB / 0.6031 GB, free: 4.566 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.194e-05/0.3837, allocations: 60.88 kB / 0.6032 GB, free: 4.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.3838, allocations: 367.9 kB / 0.6036 GB, free: 4.164 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004509/0.3842, allocations: 252.7 kB / 0.6038 GB, free: 4.051 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000534/0.3848, allocations: 433.6 kB / 0.6042 GB, free: 3.695 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008834/0.3857, allocations: 0.6153 MB / 0.6048 GB, free: 3.262 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3857, allocations: 3.188 kB / 0.6048 GB, free: 3.262 MB / 430.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001471/0.3872, allocations: 0.9064 MB / 0.6057 GB, free: 2.812 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.3873, allocations: 242 kB / 0.6059 GB, free: 2.512 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3873, allocations: 12.03 kB / 0.6059 GB, free: 2.508 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/0.3888, allocations: 493.9 kB / 0.6064 GB, free: 2.297 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000423/0.3892, allocations: 134.7 kB / 0.6065 GB, free: 2.262 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.3905, allocations: 1.473 MB / 0.608 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005616/0.391, allocations: 84.03 kB / 0.6081 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.497e-05/0.3911, allocations: 81.3 kB / 0.6081 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.08e-06/0.3911, allocations: 2.5 kB / 0.6081 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001411/0.3926, allocations: 0.7724 MB / 0.6089 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.3926, allocations: 5.625 kB / 0.6089 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004913/0.3931, allocations: 324.9 kB / 0.6092 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/0.3936, allocations: 158.4 kB / 0.6094 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/0.3957, allocations: 2.482 MB / 0.6118 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004983/0.3962, allocations: 78.62 kB / 0.6119 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/0.3963, allocations: 33.33 kB / 0.6119 GB, free: 14.07 MB / 446.1 MB 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.mode,$PRE.Clutch1.mode,Clutch1.locked,Clutch1.startBackward,$PRE.Clutch1.startBackward,Clutch1.startForward,$PRE.Clutch1.startForward,Clutch1.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000242/0.3965, allocations: 279 kB / 0.6122 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.614e-05/0.3966, allocations: 59.66 kB / 0.6122 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.3982, allocations: 0.7547 MB / 0.613 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3982, allocations: 4.938 kB / 0.613 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.3982, allocations: 2.875 kB / 0.613 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.3982, allocations: 4.797 kB / 0.613 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002126/0.4003, allocations: 1.425 MB / 0.6144 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4003, allocations: 0 / 0.6144 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003229/0.4007, allocations: 76.58 kB / 0.6144 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001074/0.4018, allocations: 439.1 kB / 0.6148 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-05/0.4018, allocations: 27.36 kB / 0.6149 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/0.4029, allocations: 1.408 MB / 0.6162 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4029, allocations: 3.984 kB / 0.6163 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.4047, allocations: 1.046 MB / 0.6173 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/0.4049, allocations: 204.3 kB / 0.6175 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.849e-05/0.405, allocations: 12 kB / 0.6175 GB, free: 9.492 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005306/0.4056, allocations: 75.88 kB / 0.6176 GB, free: 9.418 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.4057, allocations: 68.33 kB / 0.6176 GB, free: 9.352 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.258e-05/0.4058, allocations: 91.75 kB / 0.6177 GB, free: 9.262 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003495/0.4061, allocations: 358.8 kB / 0.618 GB, free: 8.914 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4062, allocations: 0 / 0.618 GB, free: 8.914 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009662/0.4071, allocations: 391.9 kB / 0.6184 GB, free: 8.531 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002357/0.4095, allocations: 1.714 MB / 0.6201 GB, free: 6.793 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002/0.4115, allocations: 1.137 MB / 0.6212 GB, free: 5.648 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4115, allocations: 0 / 0.6212 GB, free: 5.648 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006597/0.4122, allocations: 324.4 kB / 0.6215 GB, free: 5.328 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.4134, allocations: 230.6 kB / 0.6217 GB, free: 5.105 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0078/0.4212, allocations: 6.255 MB / 0.6278 GB, free: 14.62 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.4215, allocations: 0.8799 MB / 0.6287 GB, free: 13.71 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005581/0.4221, allocations: 140.8 kB / 0.6288 GB, free: 13.58 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/0.4224, allocations: 203.4 kB / 0.629 GB, free: 13.38 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4224, allocations: 0 / 0.629 GB, free: 13.38 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.27/4.693, allocations: 22.59 MB / 0.6511 GB, free: 6.746 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002545/4.693, allocations: 222.8 kB / 0.6513 GB, free: 6.484 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.032/6.725, allocations: 0 / 0.6513 GB, free: 6.484 MB / 478.1 MB (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/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)