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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009358/0.0009358, allocations: 96.95 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4882/0.4882, allocations: 48.78 MB / 367.9 MB, free: 47.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.0003825, allocations: 8 kB / 438.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.149, allocations: 60.24 MB / 499 MB, free: 14.51 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.862/2.011, allocations: 0.7528 GB / 1.24 GB, free: 40.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/2.012, allocations: 87.23 kB / 1.24 GB, free: 40.66 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.264/4.276, allocations: 0.5657 GB / 1.806 GB, free: 64.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.324e-06/4.276, allocations: 0 / 1.806 GB, free: 64.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001193/4.276, allocations: 25.53 kB / 1.806 GB, free: 64.18 MB / 0.5105 GB 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.00404/4.28, allocations: 1.343 MB / 1.807 GB, free: 62.79 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/4.28, allocations: 12.03 kB / 1.807 GB, free: 62.78 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000541/4.281, allocations: 147.8 kB / 1.807 GB, free: 62.62 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/4.282, allocations: 234.2 kB / 1.808 GB, free: 62.39 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002493/4.285, allocations: 0.7973 MB / 1.808 GB, free: 61.55 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.367e-05/4.285, allocations: 66 kB / 1.808 GB, free: 61.49 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002424/4.285, allocations: 84 kB / 1.809 GB, free: 61.41 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002346/4.287, allocations: 1.226 MB / 1.81 GB, free: 60.13 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/4.287, allocations: 3.938 kB / 1.81 GB, free: 60.13 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001915/4.287, allocations: 44 kB / 1.81 GB, free: 60.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.065e-05/4.288, allocations: 41.7 kB / 1.81 GB, free: 60.05 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/4.289, allocations: 0.9017 MB / 1.811 GB, free: 59.14 MB / 0.5105 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.008499/4.298, allocations: 5.027 MB / 1.816 GB, free: 53.78 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007746/4.298, allocations: 389.8 kB / 1.816 GB, free: 53.38 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.13e-05/4.298, allocations: 15.97 kB / 1.816 GB, free: 53.36 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/4.298, allocations: 46.8 kB / 1.816 GB, free: 53.31 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 2.615e-06/4.298, allocations: 3.938 kB / 1.816 GB, free: 53.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=40): time 0.003211/4.302, allocations: 0.9616 MB / 1.817 GB, free: 52.32 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/4.302, allocations: 136.5 kB / 1.817 GB, free: 52.15 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002295/4.304, allocations: 1.384 MB / 1.818 GB, free: 50.76 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001751/4.304, allocations: 41.7 kB / 1.819 GB, free: 50.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004725/4.305, allocations: 0.5548 MB / 1.819 GB, free: 50.15 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/4.305, allocations: 146 kB / 1.819 GB, free: 50.01 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/4.305, allocations: 16 kB / 1.819 GB, free: 49.99 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001145/4.305, allocations: 333.9 kB / 1.82 GB, free: 49.66 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003848/4.305, allocations: 233.2 kB / 1.82 GB, free: 49.43 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000482/4.306, allocations: 443.7 kB / 1.82 GB, free: 48.91 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004586/4.306, allocations: 301.5 kB / 1.82 GB, free: 48.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/4.306, allocations: 4 kB / 1.82 GB, free: 48.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001706/4.308, allocations: 0.8842 MB / 1.821 GB, free: 47.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006898/4.309, allocations: 2.459 MB / 1.824 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/4.309, allocations: 8 kB / 1.824 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001348/4.31, allocations: 242.2 kB / 1.824 GB, free: 44.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000608/4.311, allocations: 139.8 kB / 1.824 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/4.312, allocations: 1.423 MB / 1.825 GB, free: 43.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/4.313, allocations: 136.8 kB / 1.826 GB, free: 43.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.971e-05/4.313, allocations: 32 kB / 1.826 GB, free: 43.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/4.313, allocations: 4 kB / 1.826 GB, free: 43.06 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001348/4.315, allocations: 0.7289 MB / 1.826 GB, free: 42.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/4.315, allocations: 8 kB / 1.826 GB, free: 42.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004335/4.315, allocations: 89.14 kB / 1.826 GB, free: 42.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006291/4.316, allocations: 163.7 kB / 1.827 GB, free: 42.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009442/4.317, allocations: 1.83 MB / 1.828 GB, free: 40.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009712/4.318, allocations: 122.8 kB / 1.829 GB, free: 40.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.054e-05/4.318, allocations: 36.05 kB / 1.829 GB, free: 40.02 MB / 0.5105 GB 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.0008547/4.319, allocations: 437.6 kB / 1.829 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004324/4.319, allocations: 126.6 kB / 1.829 GB, free: 39.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/4.321, allocations: 0.608 MB / 1.83 GB, free: 38.83 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/4.321, allocations: 4 kB / 1.83 GB, free: 38.83 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/4.321, allocations: 3.953 kB / 1.83 GB, free: 38.82 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/4.321, allocations: 3.984 kB / 1.83 GB, free: 38.82 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/4.323, allocations: 1.095 MB / 1.831 GB, free: 37.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/4.323, allocations: 0 / 1.831 GB, free: 37.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003633/4.324, allocations: 67.89 kB / 1.831 GB, free: 37.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001116/4.325, allocations: 243.8 kB / 1.831 GB, free: 37.37 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.204e-05/4.325, allocations: 11.98 kB / 1.831 GB, free: 37.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/4.326, allocations: 1.4 MB / 1.832 GB, free: 35.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/4.326, allocations: 3.953 kB / 1.832 GB, free: 35.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/4.328, allocations: 0.9311 MB / 1.833 GB, free: 34.94 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008922/4.329, allocations: 319.5 kB / 1.834 GB, free: 34.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003297/4.329, allocations: 12.06 kB / 1.834 GB, free: 34.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/4.33, allocations: 59.8 kB / 1.834 GB, free: 34.54 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.084e-05/4.33, allocations: 39.83 kB / 1.834 GB, free: 34.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/4.33, allocations: 35.86 kB / 1.834 GB, free: 34.46 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00164/4.332, allocations: 1.08 MB / 1.835 GB, free: 33.38 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.81e-07/4.332, allocations: 0 / 1.835 GB, free: 33.38 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002765/4.335, allocations: 0.6362 MB / 1.835 GB, free: 32.74 MB / 0.5105 GB 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.004935/4.34, allocations: 2.759 MB / 1.838 GB, free: 30 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002068/4.342, allocations: 0.9084 MB / 1.839 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/4.342, allocations: 2.141 kB / 1.839 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005474/4.342, allocations: 235.2 kB / 1.839 GB, free: 28.87 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00326/4.346, allocations: 0.5379 MB / 1.84 GB, free: 28.33 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009011/4.355, allocations: 7.538 MB / 1.847 GB, free: 20.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009916/4.356, allocations: 1.139 MB / 1.848 GB, free: 19.33 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001376/4.357, allocations: 268.2 kB / 1.849 GB, free: 19.06 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005723/4.358, allocations: 411.2 kB / 1.849 GB, free: 18.66 MB / 0.5105 GB Notification: Performance of SimCode: time 2.144e-06/4.358, allocations: 0 / 1.849 GB, free: 18.66 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4183/4.776, allocations: 49.5 MB / 1.897 GB, free: 94.84 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/4.776, allocations: 237.1 kB / 1.897 GB, free: 94.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.152/8.928, allocations: 0.875 kB / 1.897 GB, free: 94.6 MB / 0.5261 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/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)