Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCC.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.TestCC,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestCC,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCC",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.001184/0.001184, allocations: 88.27 kB / 16.32 MB, free: 6.449 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.001321/0.001321, allocations: 179.5 kB / 17.21 MB, free: 6.32 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.67/1.67, allocations: 205.4 MB / 223.4 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4464/0.4464, allocations: 48.77 MB / 320.4 MB, free: 3.836 MB / 254.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.0007218/0.0007218, allocations: 15.12 kB / 391.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1394, allocations: 60.27 MB / 451.5 MB, free: 1.797 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCC): time 0.7129/0.8523, allocations: 193.6 MB / 0.63 GB, free: 5.371 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003162/0.8555, allocations: 2.055 MB / 0.632 GB, free: 5.336 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000504/0.8561, allocations: 14.41 kB / 0.632 GB, free: 5.336 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009368/0.857, allocations: 344.2 kB / 0.6324 GB, free: 5.336 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001159/0.8582, allocations: 0.6561 MB / 0.633 GB, free: 5.328 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002201/0.8604, allocations: 0.8631 MB / 0.6338 GB, free: 5.312 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002462/0.8629, allocations: 2.586 MB / 0.6364 GB, free: 5.312 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001286/0.8642, allocations: 0.7471 MB / 0.6371 GB, free: 5.266 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001629/0.8658, allocations: 0.8001 MB / 0.6379 GB, free: 5.266 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.867, allocations: 0.7864 MB / 0.6386 GB, free: 5.262 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000158/0.8672, allocations: 56.66 kB / 0.6387 GB, free: 5.262 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002242/0.8694, allocations: 1.02 MB / 0.6397 GB, free: 5.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008949/0.8703, allocations: 0.6546 MB / 0.6403 GB, free: 5.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008742/0.8712, allocations: 300.2 kB / 0.6406 GB, free: 21.22 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002962/0.8742, allocations: 1.722 MB / 0.6423 GB, free: 21.11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.8742, allocations: 0 / 0.6423 GB, free: 21.11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8742, allocations: 4.844 kB / 0.6423 GB, free: 21.11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.135e-05/0.8743, allocations: 0 / 0.6423 GB, free: 21.11 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.002821/0.8771, allocations: 1.242 MB / 0.6435 GB, free: 20.4 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.8771, allocations: 13.81 kB / 0.6435 GB, free: 20.4 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002895/0.8774, allocations: 181 kB / 0.6437 GB, free: 20.36 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.8785, allocations: 249.4 kB / 0.6439 GB, free: 20.3 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.8796, allocations: 0.6252 MB / 0.6446 GB, free: 20.03 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-05/0.8797, allocations: 88.33 kB / 0.6446 GB, free: 20.02 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/0.8799, allocations: 122.2 kB / 0.6448 GB, free: 20.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002604/0.8825, allocations: 1.572 MB / 0.6463 GB, free: 19.83 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.8825, allocations: 0.8438 kB / 0.6463 GB, free: 19.83 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/0.8827, allocations: 56.81 kB / 0.6463 GB, free: 19.83 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.074e-05/0.8827, allocations: 49.11 kB / 0.6464 GB, free: 19.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/0.8846, allocations: 1.19 MB / 0.6476 GB, free: 19.8 MB / 0.4981 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.007912/0.8926, allocations: 6.532 MB / 0.6539 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.8936, allocations: 0.5438 MB / 0.6545 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005258/0.8941, allocations: 364.5 kB / 0.6548 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.621e-05/0.8942, allocations: 8.156 kB / 0.6548 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.8943, allocations: 48.69 kB / 0.6549 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=58): time 2.835e-06/0.8943, allocations: 7.984 kB / 0.6549 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69): time 0.01053/0.9048, allocations: 3.85 MB / 0.6586 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.9049, allocations: 114.1 kB / 0.6587 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.9061, allocations: 0.8939 MB / 0.6596 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001454/0.9062, allocations: 47.92 kB / 0.6597 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/0.9065, allocations: 479 kB / 0.6601 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.9067, allocations: 243 kB / 0.6603 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/0.9068, allocations: 15.84 kB / 0.6604 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.9069, allocations: 338.9 kB / 0.6607 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006771/0.9076, allocations: 455.4 kB / 0.6611 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000775/0.9084, allocations: 0.6047 MB / 0.6617 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007729/0.9091, allocations: 0.5105 MB / 0.6622 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.9091, allocations: 4.125 kB / 0.6622 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002794/0.9119, allocations: 1.6 MB / 0.6638 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.345e-05/0.9121, allocations: 203.1 kB / 0.664 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.9121, allocations: 5.406 kB / 0.664 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002844/0.9149, allocations: 0.8791 MB / 0.6648 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004922/0.9154, allocations: 121.8 kB / 0.6649 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/0.9176, allocations: 2.187 MB / 0.6671 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.9187, allocations: 129.4 kB / 0.6672 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.505e-05/0.9188, allocations: 44.5 kB / 0.6672 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.766e-06/0.9188, allocations: 5.094 kB / 0.6673 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002314/0.9212, allocations: 1.435 MB / 0.6687 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.9212, allocations: 2.906 kB / 0.6687 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001798/0.923, allocations: 0.6426 MB / 0.6693 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005339/0.9235, allocations: 146.5 kB / 0.6694 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.9256, allocations: 2.535 MB / 0.6719 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.9267, allocations: 128.9 kB / 0.672 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.152e-05/0.9268, allocations: 46.16 kB / 0.6721 GB, free: 10.29 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (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): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 26} Notification: Performance of prepare postOptimizeDAE: time 0.0007997/0.9276, allocations: 400.5 kB / 0.6724 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.9277, allocations: 98.88 kB / 0.6725 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/0.9298, allocations: 1.273 MB / 0.6738 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.9298, allocations: 9.594 kB / 0.6738 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.9298, allocations: 0 / 0.6738 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.9298, allocations: 4.875 kB / 0.6738 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003078/0.9329, allocations: 2.332 MB / 0.6761 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.9329, allocations: 0 / 0.6761 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009256/0.9339, allocations: 187.9 kB / 0.6763 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009116/0.9348, allocations: 288.5 kB / 0.6765 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.64e-05/0.9349, allocations: 34.19 kB / 0.6766 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001972/0.9368, allocations: 2.82 MB / 0.6793 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.9368, allocations: 3.953 kB / 0.6793 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002352/0.9392, allocations: 1.684 MB / 0.681 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004077/0.9396, allocations: 187 kB / 0.6811 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/0.9398, allocations: 24.3 kB / 0.6812 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.9409, allocations: 122.5 kB / 0.6813 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.941, allocations: 53.92 kB / 0.6813 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.9411, allocations: 67.67 kB / 0.6814 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007039/0.9418, allocations: 0.628 MB / 0.682 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9418, allocations: 4 kB / 0.682 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001859/0.9437, allocations: 0.6411 MB / 0.6826 GB, free: 5.961 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (CombustionChamber1.fluegas.p,CombustionChamber1.fluegas.Xi[1],CombustionChamber1.fluegas.Xi[2],CombustionChamber1.fluegas.Xi[3],CombustionChamber1.fluegas.Xi[4],CombustionChamber1.fluegas.Xi[5],CombustionChamber1.fluegas.T) * 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 (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003898/0.9476, allocations: 2.678 MB / 0.6853 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003291/0.9509, allocations: 1.942 MB / 0.6872 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.9509, allocations: 4.781 kB / 0.6872 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009595/0.9519, allocations: 0.6963 MB / 0.6878 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002866/0.9548, allocations: 0.6388 MB / 0.6885 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.9655, allocations: 7.712 MB / 0.696 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006348/0.9661, allocations: 1.099 MB / 0.6971 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001474/0.9676, allocations: 299.9 kB / 0.6974 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005168/0.9681, allocations: 401.9 kB / 0.6977 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.9682, allocations: 0 / 0.6977 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06679/1.035, allocations: 43.72 MB / 0.7404 GB, free: 2.785 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/1.035, allocations: 201.3 kB / 0.7406 GB, free: 2.539 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.864/3.899, allocations: 0 / 0.7406 GB, free: 2.539 MB / 0.545 GB (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestCC.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestCC.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestCC.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestCC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestCC_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestCC.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestCC.pipe 2>&1) Environment - environmentSimulation: