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.0009552/0.0009554, allocations: 87.38 kB / 16.31 MB, free: 5.676 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.001025/0.001025, allocations: 182.2 kB / 17.21 MB, free: 5.598 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.372/1.372, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2362/0.2362, allocations: 48.78 MB / 320.4 MB, free: 11.22 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.0004531/0.0004531, allocations: 14.7 kB / 391.3 MB, free: 50.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08316/0.08362, allocations: 60.27 MB / 451.5 MB, free: 9.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestFanMech): time 0.3016/0.3853, allocations: 133.3 MB / 0.5711 GB, free: 136 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003507/0.3888, allocations: 2.16 MB / 0.5732 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006036/0.3895, allocations: 10.09 kB / 0.5732 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007805/0.3903, allocations: 203.9 kB / 0.5734 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001937/0.3922, allocations: 0.9012 MB / 0.5743 GB, free: 15.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.3941, allocations: 0.8297 MB / 0.5751 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001554/0.3957, allocations: 1.692 MB / 0.5768 GB, free: 15.17 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005362/0.3962, allocations: 461 kB / 0.5772 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007408/0.397, allocations: 0.6297 MB / 0.5778 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008053/0.3978, allocations: 0.74 MB / 0.5785 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.852e-05/0.3979, allocations: 39.88 kB / 0.5786 GB, free: 14.49 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.3991, allocations: 0.8889 MB / 0.5795 GB, free: 14.24 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001777/0.3993, allocations: 171.6 kB / 0.5796 GB, free: 14.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.3994, allocations: 163.5 kB / 0.5798 GB, free: 14.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007479/0.4002, allocations: 0.8724 MB / 0.5806 GB, free: 13.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4002, allocations: 0 / 0.5806 GB, free: 13.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4002, allocations: 0 / 0.5806 GB, free: 13.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.4002, allocations: 0 / 0.5806 GB, free: 13.68 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.001426/0.4016, allocations: 0.9298 MB / 0.5815 GB, free: 13 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.4017, allocations: 8.125 kB / 0.5815 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001066/0.4018, allocations: 98.3 kB / 0.5816 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004527/0.4022, allocations: 91.23 kB / 0.5817 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005296/0.4028, allocations: 463.6 kB / 0.5822 GB, free: 12.58 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.099e-05/0.4028, allocations: 75.95 kB / 0.5822 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.236e-05/0.4029, allocations: 54.47 kB / 0.5823 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.404, allocations: 0.7283 MB / 0.583 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.404, allocations: 6.906 kB / 0.583 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.177e-05/0.4041, allocations: 29.59 kB / 0.583 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.4041, allocations: 14.06 kB / 0.583 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009992/0.4051, allocations: 0.6138 MB / 0.5836 GB, free: 12.16 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.003445/0.4085, allocations: 2.878 MB / 0.5865 GB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000714/0.4093, allocations: 425.2 kB / 0.5869 GB, free: 10.08 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003918/0.4097, allocations: 247.7 kB / 0.5871 GB, free: 10.04 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001324/0.411, allocations: 1.079 MB / 0.5882 GB, free: 9.285 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.4111, allocations: 44.17 kB / 0.5882 GB, free: 9.242 MB / 430.1 MB Notification: Performance of pre-optimization done (n=49): time 1.984e-06/0.4111, allocations: 0 / 0.5882 GB, free: 9.242 MB / 430.1 MB Notification: Performance of matching and sorting (n=51): time 0.005072/0.4161, allocations: 2.487 MB / 0.5906 GB, free: 8.121 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.4162, allocations: 109.3 kB / 0.5907 GB, free: 7.996 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004931/0.4167, allocations: 0.5139 MB / 0.5912 GB, free: 7.793 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.896e-05/0.4168, allocations: 41.14 kB / 0.5913 GB, free: 7.762 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.4169, allocations: 309.2 kB / 0.5916 GB, free: 7.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.4171, allocations: 180.6 kB / 0.5917 GB, free: 7.445 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.4171, allocations: 8.25 kB / 0.5917 GB, free: 7.445 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4172, allocations: 367.6 kB / 0.5921 GB, free: 7.117 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004191/0.4176, allocations: 247.2 kB / 0.5923 GB, free: 7.078 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005103/0.4182, allocations: 435.3 kB / 0.5927 GB, free: 6.812 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004221/0.4186, allocations: 261.7 kB / 0.593 GB, free: 6.773 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4186, allocations: 2.938 kB / 0.593 GB, free: 6.773 MB / 430.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001484/0.4201, allocations: 0.8891 MB / 0.5939 GB, free: 6.555 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.4203, allocations: 253.7 kB / 0.5941 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.4203, allocations: 5.875 kB / 0.5941 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00143/0.4217, allocations: 494.3 kB / 0.5946 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004385/0.4222, allocations: 129.8 kB / 0.5947 GB, free: 6.098 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.4234, allocations: 1.454 MB / 0.5961 GB, free: 4.988 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005531/0.424, allocations: 94.05 kB / 0.5962 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.996e-05/0.4241, allocations: 75.05 kB / 0.5963 GB, free: 4.953 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.703e-06/0.4241, allocations: 5.812 kB / 0.5963 GB, free: 4.953 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001355/0.4254, allocations: 0.7637 MB / 0.597 GB, free: 4.781 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.4254, allocations: 5.922 kB / 0.597 GB, free: 4.781 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004899/0.4259, allocations: 331.7 kB / 0.5974 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004997/0.4265, allocations: 148.4 kB / 0.5975 GB, free: 4.664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002351/0.4288, allocations: 2.499 MB / 0.5999 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004882/0.4293, allocations: 78.69 kB / 0.6 GB, free: 2.613 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.323e-05/0.4294, allocations: 30.8 kB / 0.6 GB, free: 2.609 MB / 430.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.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): 63 * 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 6,3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003118/0.4297, allocations: 282.6 kB / 0.6003 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.4298, allocations: 63.91 kB / 0.6004 GB, free: 2.367 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/0.4313, allocations: 0.7432 MB / 0.6011 GB, free: 2.152 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.4313, allocations: 2.938 kB / 0.6011 GB, free: 2.152 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-06/0.4313, allocations: 0 / 0.6011 GB, free: 2.152 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.4313, allocations: 7.234 kB / 0.6011 GB, free: 2.148 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/0.4334, allocations: 1.415 MB / 0.6025 GB, free: 1.547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.4334, allocations: 2.969 kB / 0.6025 GB, free: 1.547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003355/0.4338, allocations: 86.62 kB / 0.6026 GB, free: 1.527 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001015/0.4348, allocations: 428.3 kB / 0.603 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.823e-05/0.4349, allocations: 19.17 kB / 0.603 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.436, allocations: 1.418 MB / 0.6044 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.436, allocations: 0.875 kB / 0.6044 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.4377, allocations: 1.042 MB / 0.6054 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002395/0.4379, allocations: 197.6 kB / 0.6056 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.194e-05/0.438, allocations: 16.91 kB / 0.6056 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004885/0.4385, allocations: 80.55 kB / 0.6057 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.4387, allocations: 73.3 kB / 0.6058 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.687e-05/0.4388, allocations: 79.39 kB / 0.6058 GB, free: 15.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003365/0.4391, allocations: 358.9 kB / 0.6062 GB, free: 15.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4391, allocations: 0 / 0.6062 GB, free: 15.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001038/0.4402, allocations: 394.3 kB / 0.6066 GB, free: 15.61 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 (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.00226/0.4424, allocations: 1.707 MB / 0.6082 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002005/0.4444, allocations: 1.136 MB / 0.6093 GB, free: 14.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4445, allocations: 0 / 0.6093 GB, free: 14.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006167/0.4451, allocations: 324.1 kB / 0.6096 GB, free: 14.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.4461, allocations: 225.5 kB / 0.6099 GB, free: 14.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005274/0.4514, allocations: 3.979 MB / 0.6137 GB, free: 11.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.4518, allocations: 0.8792 MB / 0.6146 GB, free: 10.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006053/0.4524, allocations: 136.8 kB / 0.6147 GB, free: 10.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/0.4527, allocations: 208.1 kB / 0.6149 GB, free: 10.09 MB / 446.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4527, allocations: 0 / 0.6149 GB, free: 10.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8651/1.318, allocations: 22.18 MB / 0.6366 GB, free: 3.891 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002855/1.318, allocations: 203.7 kB / 0.6368 GB, free: 3.648 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.711/4.029, allocations: 0 / 0.6368 GB, free: 3.648 MB / 462.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/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) Environment - environmentSimulation: