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.001982/0.001981, allocations: 95.67 kB / 16.3 MB, free: 5.539 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.001634/0.001634, allocations: 180.5 kB / 17.2 MB, free: 5.473 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.882/1.882, allocations: 205.4 MB / 223.3 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.3345/0.3345, allocations: 48.79 MB / 320.4 MB, free: 11.31 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.0005768/0.0005771, allocations: 17.47 kB / 391.2 MB, free: 50.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1665, allocations: 60.27 MB / 451.5 MB, free: 9.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT_ISO): time 0.5757/0.7423, allocations: 149.7 MB / 0.5871 GB, free: 13.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005389/0.7477, allocations: 1.918 MB / 0.589 GB, free: 13.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009899/0.7488, allocations: 15.75 kB / 0.589 GB, free: 13.56 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.7503, allocations: 330.9 kB / 0.5893 GB, free: 13.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002036/0.7524, allocations: 0.495 MB / 0.5898 GB, free: 13.3 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003297/0.7557, allocations: 0.7631 MB / 0.5905 GB, free: 13.1 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003141/0.7588, allocations: 1.044 MB / 0.5916 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001549/0.7604, allocations: 0.5547 MB / 0.5921 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002318/0.7627, allocations: 0.7405 MB / 0.5928 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.7638, allocations: 458.7 kB / 0.5933 GB, free: 12.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001738/0.764, allocations: 41.81 kB / 0.5933 GB, free: 12.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002413/0.7665, allocations: 0.5848 MB / 0.5939 GB, free: 12.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007173/0.7672, allocations: 0.5247 MB / 0.5944 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006327/0.7678, allocations: 277.5 kB / 0.5946 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003774/0.7716, allocations: 1.479 MB / 0.5961 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.7717, allocations: 0 / 0.5961 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.457e-06/0.7717, allocations: 0 / 0.5961 GB, free: 11.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.385e-05/0.7718, allocations: 0 / 0.5961 GB, free: 11.29 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: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.004321/0.7761, allocations: 1.312 MB / 0.5974 GB, free: 10.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.215e-05/0.7762, allocations: 9.938 kB / 0.5974 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003779/0.7766, allocations: 152.9 kB / 0.5975 GB, free: 10.31 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/0.7783, allocations: 235.4 kB / 0.5978 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/0.7803, allocations: 0.7331 MB / 0.5985 GB, free: 9.801 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.071e-05/0.7804, allocations: 72.59 kB / 0.5985 GB, free: 9.793 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/0.7806, allocations: 89.55 kB / 0.5986 GB, free: 9.793 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003072/0.7837, allocations: 1.225 MB / 0.5998 GB, free: 9.402 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.238e-05/0.7838, allocations: 6.625 kB / 0.5998 GB, free: 9.398 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001908/0.784, allocations: 45.97 kB / 0.5999 GB, free: 9.398 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.45e-05/0.7841, allocations: 37.14 kB / 0.5999 GB, free: 9.391 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002473/0.7865, allocations: 0.9328 MB / 0.6008 GB, free: 9.242 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.01202/0.7986, allocations: 4.968 MB / 0.6057 GB, free: 5.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.7999, allocations: 388.3 kB / 0.606 GB, free: 5.719 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.191e-05/0.8, allocations: 13.81 kB / 0.606 GB, free: 5.715 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.408e-05/0.8001, allocations: 47.09 kB / 0.6061 GB, free: 5.676 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 4.548e-06/0.8002, allocations: 2.562 kB / 0.6061 GB, free: 5.676 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.003824/0.804, allocations: 0.9651 MB / 0.607 GB, free: 5.301 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.241e-05/0.8041, allocations: 141.9 kB / 0.6072 GB, free: 5.137 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002328/0.8064, allocations: 1.54 MB / 0.6087 GB, free: 4.742 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001802/0.8066, allocations: 41.33 kB / 0.6087 GB, free: 4.707 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005014/0.8071, allocations: 0.5576 MB / 0.6093 GB, free: 4.461 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.8073, allocations: 148.7 kB / 0.6094 GB, free: 4.355 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/0.8074, allocations: 12.31 kB / 0.6094 GB, free: 4.355 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.8075, allocations: 334.9 kB / 0.6097 GB, free: 4.039 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003934/0.8079, allocations: 232.6 kB / 0.61 GB, free: 4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005581/0.8085, allocations: 440.1 kB / 0.6104 GB, free: 3.703 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005227/0.809, allocations: 295.7 kB / 0.6107 GB, free: 3.652 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.809, allocations: 2.625 kB / 0.6107 GB, free: 3.652 MB / 430.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001783/0.8108, allocations: 0.8887 MB / 0.6115 GB, free: 3.402 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001354/0.8122, allocations: 2.458 MB / 0.6139 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.8122, allocations: 9.844 kB / 0.6139 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001653/0.8139, allocations: 264.3 kB / 0.6142 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006422/0.8145, allocations: 133.4 kB / 0.6143 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/0.816, allocations: 1.416 MB / 0.6157 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.8172, allocations: 128 kB / 0.6158 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.783e-05/0.8173, allocations: 33.36 kB / 0.6159 GB, free: 15.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.8173, allocations: 4.594 kB / 0.6159 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00147/0.8188, allocations: 0.722 MB / 0.6166 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.8188, allocations: 5.781 kB / 0.6166 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004328/0.8193, allocations: 84.16 kB / 0.6167 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006493/0.8199, allocations: 158.3 kB / 0.6168 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.8211, allocations: 1.818 MB / 0.6186 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.8222, allocations: 111.8 kB / 0.6187 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-05/0.8223, allocations: 34.77 kB / 0.6187 GB, free: 13.44 MB / 446.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 (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 {4 11} Notification: Performance of prepare postOptimizeDAE: time 0.0009475/0.8232, allocations: 444.1 kB / 0.6191 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002819/0.8235, allocations: 123.1 kB / 0.6193 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.8249, allocations: 0.5999 MB / 0.6198 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.8249, allocations: 5.656 kB / 0.6198 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.825, allocations: 7.938 kB / 0.6199 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.825, allocations: 0 / 0.6199 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.8268, allocations: 1.036 MB / 0.6209 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.8268, allocations: 6.531 kB / 0.6209 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003693/0.8272, allocations: 74.33 kB / 0.6209 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001163/0.8283, allocations: 228.4 kB / 0.6212 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/0.8284, allocations: 18.56 kB / 0.6212 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/0.8296, allocations: 1.392 MB / 0.6225 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.8296, allocations: 7.891 kB / 0.6225 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/0.8314, allocations: 0.9298 MB / 0.6235 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007611/0.8322, allocations: 292.7 kB / 0.6237 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/0.8324, allocations: 10.12 kB / 0.6237 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008427/0.8332, allocations: 68.91 kB / 0.6238 GB, free: 9.855 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.55e-05/0.8333, allocations: 33.72 kB / 0.6238 GB, free: 9.828 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.299e-05/0.8334, allocations: 33.16 kB / 0.6239 GB, free: 9.801 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001506/0.8349, allocations: 1.092 MB / 0.6249 GB, free: 8.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8349, allocations: 4 kB / 0.6249 GB, free: 8.977 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0018/0.8367, allocations: 0.5392 MB / 0.6255 GB, free: 8.469 MB / 446.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 (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 {4 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003263/0.84, allocations: 1.998 MB / 0.6274 GB, free: 6.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002225/0.8423, allocations: 0.907 MB / 0.6283 GB, free: 5.793 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.8423, allocations: 0.6562 kB / 0.6283 GB, free: 5.793 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005963/0.8429, allocations: 234.5 kB / 0.6285 GB, free: 5.566 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002959/0.8459, allocations: 0.5396 MB / 0.6291 GB, free: 5.023 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007171/0.853, allocations: 7.471 MB / 0.6364 GB, free: 13.27 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008101/0.8539, allocations: 1.131 MB / 0.6375 GB, free: 12.11 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001394/0.8553, allocations: 268.2 kB / 0.6377 GB, free: 11.84 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004905/0.8558, allocations: 395.3 kB / 0.6381 GB, free: 11.46 MB / 462.1 MB Notification: Performance of SimCode: time 1.192e-06/0.8558, allocations: 0 / 0.6381 GB, free: 11.46 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07716/0.933, allocations: 34.74 MB / 0.672 GB, free: 8.645 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003028/0.9334, allocations: 242.8 kB / 0.6723 GB, free: 8.398 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.11/5.043, allocations: 4.062 kB / 0.6723 GB, free: 8.395 MB / 494.1 MB (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/linux/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) Environment - environmentSimulation: