Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.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.DistributedParameterComponents.TestGasFlow1DFV_A,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestGasFlow1DFV_A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestGasFlow1DFV_A",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.001276/0.001276, allocations: 94.59 kB / 16.3 MB, free: 6.457 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.00177/0.00177, allocations: 184.5 kB / 17.2 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.512/2.512, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3846/0.3846, allocations: 48.78 MB / 320.4 MB, free: 11.32 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.0007871/0.0007871, allocations: 13.06 kB / 391.2 MB, free: 50.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1854, allocations: 60.28 MB / 451.5 MB, free: 9.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A): time 0.7449/0.9304, allocations: 150.1 MB / 0.5875 GB, free: 14.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01162/0.942, allocations: 3.796 MB / 0.5912 GB, free: 13.61 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001985/0.9441, allocations: 15.88 kB / 0.5912 GB, free: 13.6 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002131/0.9463, allocations: 318.3 kB / 0.5915 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004213/0.9505, allocations: 0.6291 MB / 0.5922 GB, free: 13.29 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004771/0.9553, allocations: 0.8007 MB / 0.5929 GB, free: 13.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006635/0.962, allocations: 2.708 MB / 0.5956 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003411/0.9654, allocations: 1.16 MB / 0.5967 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004956/0.9704, allocations: 1.382 MB / 0.5981 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003892/0.9744, allocations: 1.145 MB / 0.5992 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001268/0.9757, allocations: 116.7 kB / 0.5993 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003583/0.9793, allocations: 373.1 kB / 0.5996 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002508/0.9818, allocations: 0.8273 MB / 0.6005 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002308/0.9842, allocations: 465.6 kB / 0.6009 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006202/0.9904, allocations: 2.488 MB / 0.6033 GB, free: 9.574 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.9905, allocations: 0 / 0.6033 GB, free: 9.574 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.978e-06/0.9905, allocations: 4 kB / 0.6033 GB, free: 9.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001687/0.9907, allocations: 0 / 0.6033 GB, free: 9.57 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: 535 * Number of variables: 535 Notification: Performance of Generate backend data structure: time 0.01204/1.003, allocations: 2.28 MB / 0.6056 GB, free: 8.234 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.476e-05/1.003, allocations: 10.94 kB / 0.6056 GB, free: 8.234 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002212/1.005, allocations: 318.2 kB / 0.6059 GB, free: 8.125 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01196/1.017, allocations: 0.6801 MB / 0.6065 GB, free: 7.844 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005546/1.023, allocations: 1.102 MB / 0.6076 GB, free: 7.316 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003445/1.023, allocations: 159 kB / 0.6078 GB, free: 7.309 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002116/1.025, allocations: 278.8 kB / 0.608 GB, free: 7.273 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01604/1.041, allocations: 3.465 MB / 0.6114 GB, free: 6.148 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002215/1.042, allocations: 10.45 kB / 0.6114 GB, free: 6.141 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002145/1.044, allocations: 87.06 kB / 0.6115 GB, free: 6.141 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003336/1.044, allocations: 117.1 kB / 0.6116 GB, free: 6.125 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01468/1.059, allocations: 3.729 MB / 0.6153 GB, free: 5.043 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.03673/1.096, allocations: 10.97 MB / 0.626 GB, free: 9.406 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01092/1.107, allocations: 2.989 MB / 0.6289 GB, free: 6.383 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003679/1.107, allocations: 34.12 kB / 0.6289 GB, free: 6.352 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001008/1.107, allocations: 64.56 kB / 0.629 GB, free: 6.281 MB / 446.1 MB Notification: Performance of pre-optimization done (n=203): time 1.407e-05/1.107, allocations: 0 / 0.629 GB, free: 6.281 MB / 446.1 MB Notification: Performance of matching and sorting (n=206): time 0.04587/1.153, allocations: 8.755 MB / 0.6375 GB, free: 13.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/1.153, allocations: 107 kB / 0.6376 GB, free: 13.31 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002277/1.156, allocations: 0.825 MB / 0.6384 GB, free: 12.47 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007547/1.156, allocations: 65.7 kB / 0.6385 GB, free: 12.4 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009898/1.157, allocations: 0.7561 MB / 0.6392 GB, free: 11.63 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001763/1.159, allocations: 0.7202 MB / 0.6399 GB, free: 10.9 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006518/1.16, allocations: 48 kB / 0.64 GB, free: 10.86 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0006017/1.16, allocations: 443.3 kB / 0.6404 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003811/1.164, allocations: 1.183 MB / 0.6416 GB, free: 9.227 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004653/1.169, allocations: 1.748 MB / 0.6433 GB, free: 7.242 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004558/1.174, allocations: 1.446 MB / 0.6447 GB, free: 5.801 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-05/1.174, allocations: 4 kB / 0.6447 GB, free: 5.797 MB / 462.1 MB Notification: Performance of matching and sorting (n=290) (initialization): time 0.04098/1.215, allocations: 5.464 MB / 0.65 GB, free: 328 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.003065/1.218, allocations: 6.281 MB / 0.6562 GB, free: 9.547 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-05/1.218, allocations: 16 kB / 0.6562 GB, free: 9.531 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01807/1.236, allocations: 2.713 MB / 0.6588 GB, free: 6.809 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003357/1.239, allocations: 483.3 kB / 0.6593 GB, free: 6.336 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0135/1.253, allocations: 5.45 MB / 0.6646 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004803/1.258, allocations: 247.7 kB / 0.6648 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008748/1.259, allocations: 164 kB / 0.665 GB, free: 396 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/1.259, allocations: 4 kB / 0.665 GB, free: 392 kB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03942/1.298, allocations: 5.318 MB / 0.6702 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001121/1.298, allocations: 16 kB / 0.6702 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01809/1.316, allocations: 2.705 MB / 0.6729 GB, free: 8.328 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003297/1.32, allocations: 483.4 kB / 0.6733 GB, free: 7.855 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01289/1.333, allocations: 5.45 MB / 0.6786 GB, free: 2.305 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004249/1.337, allocations: 245.6 kB / 0.6789 GB, free: 2.066 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007939/1.338, allocations: 167.9 kB / 0.679 GB, free: 1.902 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (183): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 98} Notification: Performance of prepare postOptimizeDAE: time 0.002945/1.341, allocations: 0.6682 MB / 0.6797 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001069/1.342, allocations: 142.4 kB / 0.6798 GB, free: 1.082 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01617/1.358, allocations: 4.124 MB / 0.6839 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.015e-05/1.358, allocations: 27.98 kB / 0.6839 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.803e-05/1.358, allocations: 8 kB / 0.6839 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.259e-05/1.358, allocations: 11.92 kB / 0.6839 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02277/1.381, allocations: 5.932 MB / 0.6897 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-05/1.381, allocations: 4.094 kB / 0.6897 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004281/1.386, allocations: 475.4 kB / 0.6901 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006821/1.392, allocations: 1.124 MB / 0.6912 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008798/1.393, allocations: 83.94 kB / 0.6913 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01904/1.412, allocations: 8.311 MB / 0.6994 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.417e-06/1.412, allocations: 4 kB / 0.6994 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01847/1.431, allocations: 5.063 MB / 0.7044 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/1.432, allocations: 195.5 kB / 0.7046 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001306/1.434, allocations: 47.98 kB / 0.7046 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004156/1.438, allocations: 175.7 kB / 0.7048 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009801/1.439, allocations: 157.8 kB / 0.7049 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000818/1.44, allocations: 151.9 kB / 0.7051 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001604/1.441, allocations: 0.5575 MB / 0.7056 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.61e-07/1.441, allocations: 0 / 0.7056 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008096/1.449, allocations: 1.117 MB / 0.7067 GB, free: 5.172 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 11 (Mbal,hex.Ttilde[1],hex.Ttilde[2],hex.Ttilde[3],hex.Ttilde[4],hex.Ttilde[5],hex.Ttilde[6],hex.Ttilde[7],hex.Ttilde[8],hex.Ttilde[9],hex.p) * 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 (180): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,64.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02032/1.47, allocations: 5.941 MB / 0.7125 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01787/1.488, allocations: 5.159 MB / 0.7176 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/1.488, allocations: 5 kB / 0.7176 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006571/1.494, allocations: 1.957 MB / 0.7195 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005317/1.5, allocations: 0.6085 MB / 0.7201 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3137/1.813, allocations: 26.07 MB / 0.7455 GB, free: 218.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002439/1.816, allocations: 1.571 MB / 0.7471 GB, free: 218.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007735/1.824, allocations: 1.138 MB / 0.7482 GB, free: 218.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002141/1.826, allocations: 0.7722 MB / 0.7489 GB, free: 218.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.403e-06/1.826, allocations: 0 / 0.7489 GB, free: 218.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1239/1.95, allocations: 71.28 MB / 0.8185 GB, free: 165.5 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/1.95, allocations: 224.7 kB / 0.8187 GB, free: 165.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.658/6.608, allocations: 0 / 0.8187 GB, free: 165.3 MB / 0.545 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestGasFlow1DFV_A_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestGasFlow1DFV_A.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_A.pipe 2>&1) Environment - environmentSimulation: