Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.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.TestGT_ISO,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGT_ISO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGT_ISO,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGT_ISO",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.0007939/0.0007939, allocations: 89.84 kB / 16.65 MB, free: 6.535 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.0008634/0.0008635, allocations: 177.7 kB / 17.56 MB, free: 6.18 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.113/1.113, allocations: 205.4 MB / 223.7 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2219/0.2219, allocations: 48.79 MB / 320.8 MB, free: 11.1 MB / 270.1 MB 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.0004364/0.0004364, allocations: 17.02 kB / 391.9 MB, free: 50.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07348/0.07392, allocations: 60.27 MB / 452.2 MB, free: 9.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT_ISO): time 0.323/0.397, allocations: 190.6 MB / 0.6277 GB, free: 8.613 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003033/0.4001, allocations: 2.061 MB / 0.6297 GB, free: 6.926 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002538/0.4003, allocations: 9.781 kB / 0.6297 GB, free: 6.922 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008437/0.4012, allocations: 382.1 kB / 0.6301 GB, free: 6.621 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008574/0.4021, allocations: 0.5972 MB / 0.6307 GB, free: 6.156 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.4038, allocations: 0.9164 MB / 0.6315 GB, free: 5.488 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00171/0.4055, allocations: 2.505 MB / 0.634 GB, free: 4.152 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006312/0.4062, allocations: 0.585 MB / 0.6346 GB, free: 3.797 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007308/0.4069, allocations: 0.6858 MB / 0.6352 GB, free: 3.461 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006103/0.4075, allocations: 0.6643 MB / 0.6359 GB, free: 2.965 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.298e-05/0.4076, allocations: 48 kB / 0.6359 GB, free: 2.918 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001527/0.4092, allocations: 1.115 MB / 0.637 GB, free: 1.801 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003936/0.4096, allocations: 0.5532 MB / 0.6376 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005442/0.4101, allocations: 0.6781 MB / 0.6382 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.4118, allocations: 2.056 MB / 0.6402 GB, free: 14.49 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.4119, allocations: 4 kB / 0.6402 GB, free: 14.48 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4119, allocations: 0 / 0.6402 GB, free: 14.48 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.4119, allocations: 4 kB / 0.6402 GB, free: 14.48 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.001732/0.4136, allocations: 1.3 MB / 0.6415 GB, free: 13.13 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.4137, allocations: 12.03 kB / 0.6415 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001635/0.4138, allocations: 151.8 kB / 0.6417 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007887/0.4146, allocations: 238.2 kB / 0.6419 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008598/0.4155, allocations: 0.7519 MB / 0.6426 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.272e-05/0.4155, allocations: 66 kB / 0.6427 GB, free: 11.87 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.4157, allocations: 84 kB / 0.6428 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.4173, allocations: 1.263 MB / 0.644 GB, free: 10.48 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.4173, allocations: 0 / 0.644 GB, free: 10.48 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.4174, allocations: 44 kB / 0.644 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.936e-05/0.4175, allocations: 45.92 kB / 0.6441 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.4188, allocations: 0.9328 MB / 0.645 GB, free: 9.457 MB / 462.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.005647/0.4244, allocations: 5.025 MB / 0.6499 GB, free: 4.078 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007011/0.4251, allocations: 393.6 kB / 0.6503 GB, free: 3.676 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/0.4254, allocations: 185.6 kB / 0.6505 GB, free: 3.488 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.4255, allocations: 7.984 kB / 0.6505 GB, free: 3.48 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.4255, allocations: 50.5 kB / 0.6505 GB, free: 3.422 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 1.373e-06/0.4255, allocations: 0 / 0.6505 GB, free: 3.422 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.002634/0.4281, allocations: 0.9792 MB / 0.6515 GB, free: 2.414 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.4282, allocations: 140.5 kB / 0.6516 GB, free: 2.246 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/0.4297, allocations: 1.55 MB / 0.6531 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.142e-05/0.4298, allocations: 41.7 kB / 0.6532 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003496/0.4301, allocations: 0.5587 MB / 0.6537 GB, free: 76 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.4303, allocations: 138 kB / 0.6538 GB, free: 15.94 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.995e-05/0.4303, allocations: 53.69 kB / 0.6539 GB, free: 15.88 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.194e-05/0.4304, allocations: 333.9 kB / 0.6542 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003637/0.4308, allocations: 237.2 kB / 0.6544 GB, free: 15.31 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004554/0.4313, allocations: 436.5 kB / 0.6548 GB, free: 14.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007578/0.432, allocations: 0.6303 MB / 0.6555 GB, free: 14.08 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.4321, allocations: 4 kB / 0.6555 GB, free: 14.08 MB / 478.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001336/0.4334, allocations: 0.8835 MB / 0.6563 GB, free: 13.18 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001262/0.4335, allocations: 269.8 kB / 0.6566 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.4335, allocations: 8 kB / 0.6566 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00137/0.4349, allocations: 270.1 kB / 0.6569 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005305/0.4355, allocations: 139.8 kB / 0.657 GB, free: 12.42 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/0.4365, allocations: 1.408 MB / 0.6584 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006502/0.4372, allocations: 134.6 kB / 0.6585 GB, free: 10.83 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.307e-05/0.4373, allocations: 35.98 kB / 0.6585 GB, free: 10.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.931e-06/0.4373, allocations: 4 kB / 0.6585 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001254/0.4385, allocations: 0.7146 MB / 0.6592 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.4386, allocations: 12.09 kB / 0.6592 GB, free: 10.06 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003928/0.439, allocations: 80.78 kB / 0.6593 GB, free: 9.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005922/0.4396, allocations: 159.7 kB / 0.6595 GB, free: 9.824 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009085/0.4405, allocations: 1.81 MB / 0.6612 GB, free: 7.941 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005355/0.441, allocations: 119 kB / 0.6613 GB, free: 7.824 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.251e-05/0.4411, allocations: 31.98 kB / 0.6614 GB, free: 7.793 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 1 system {(4,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003982/0.4415, allocations: 440.8 kB / 0.6618 GB, free: 7.352 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.4417, allocations: 126.5 kB / 0.6619 GB, free: 7.227 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.4429, allocations: 0.6062 MB / 0.6625 GB, free: 6.609 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.4429, allocations: 8 kB / 0.6625 GB, free: 6.602 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.4429, allocations: 4 kB / 0.6625 GB, free: 6.598 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.4429, allocations: 11.86 kB / 0.6625 GB, free: 6.586 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.4441, allocations: 1.039 MB / 0.6635 GB, free: 5.488 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4441, allocations: 0 / 0.6635 GB, free: 5.488 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003309/0.4445, allocations: 71.89 kB / 0.6636 GB, free: 5.418 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001028/0.4455, allocations: 228.7 kB / 0.6638 GB, free: 5.191 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.4455, allocations: 7.938 kB / 0.6638 GB, free: 5.184 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.4466, allocations: 1.4 MB / 0.6652 GB, free: 3.734 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4466, allocations: 3.938 kB / 0.6652 GB, free: 3.73 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.4481, allocations: 0.8987 MB / 0.6661 GB, free: 2.809 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003903/0.4485, allocations: 299.5 kB / 0.6664 GB, free: 2.496 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.4486, allocations: 8 kB / 0.6664 GB, free: 2.488 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007525/0.4493, allocations: 64.22 kB / 0.6664 GB, free: 2.426 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.782e-05/0.4494, allocations: 27.95 kB / 0.6665 GB, free: 2.398 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.369e-05/0.4495, allocations: 31.95 kB / 0.6665 GB, free: 2.367 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001118/0.4506, allocations: 1.1 MB / 0.6676 GB, free: 1.262 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4506, allocations: 0 / 0.6676 GB, free: 1.262 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001207/0.4518, allocations: 0.5539 MB / 0.6681 GB, free: 0.707 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ConstantSpeed1.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 1 system {(4,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002747/0.4546, allocations: 1.907 MB / 0.67 GB, free: 14.76 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001726/0.4563, allocations: 0.9081 MB / 0.6709 GB, free: 13.86 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.4563, allocations: 4.656 kB / 0.6709 GB, free: 13.85 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005181/0.4569, allocations: 244.7 kB / 0.6711 GB, free: 13.61 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/0.4593, allocations: 0.5436 MB / 0.6716 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/0.4714, allocations: 11.21 MB / 0.6826 GB, free: 1.371 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005769/0.472, allocations: 1.108 MB / 0.6837 GB, free: 236 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008677/0.4729, allocations: 272.2 kB / 0.6839 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004085/0.4733, allocations: 395.3 kB / 0.6843 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.4733, allocations: 0 / 0.6843 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04661/0.5199, allocations: 35.81 MB / 0.7193 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002331/0.5202, allocations: 255.7 kB / 0.7195 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.443/2.964, allocations: 4.062 kB / 0.7195 GB, free: 11.43 MB / 0.5294 GB (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGT_ISO_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGT_ISO.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.pipe 2>&1)