Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B.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.DistributedParameterComponents.TestGasFlow1DFV_B,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestGasFlow1DFV_B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestGasFlow1DFV_B",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.001732/0.001732, allocations: 176.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.057/2.057, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009762/0.0009762, allocations: 87.8 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6188/0.6188, allocations: 48.78 MB / 358.8 MB, free: 53.16 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.892e-05/1.874e-05, allocations: 4.219 kB / 425.4 MB, free: 8.133 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1466, allocations: 60.27 MB / 485.7 MB, free: 11.72 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.381/3.528, allocations: 1.077 GB / 1.552 GB, free: 158.5 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/3.528, allocations: 79.84 kB / 1.552 GB, free: 158.5 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.74/5.268, allocations: 485.8 MB / 2.026 GB, free: 73.75 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.774e-06/5.268, allocations: 0 / 2.026 GB, free: 73.75 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0001283/5.269, allocations: 68.47 kB / 2.026 GB, free: 73.74 MB / 0.5108 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 680 * Number of variables: 680 Notification: Performance of Generate backend data structure: time 0.009059/5.278, allocations: 2.599 MB / 2.029 GB, free: 72.15 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/5.278, allocations: 7.688 kB / 2.029 GB, free: 72.15 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008946/5.287, allocations: 1.32 MB / 2.03 GB, free: 71.48 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005519/5.292, allocations: 1.565 MB / 2.032 GB, free: 70.52 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/5.292, allocations: 83.84 kB / 2.032 GB, free: 70.52 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001319/5.294, allocations: 166.3 kB / 2.032 GB, free: 70.5 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008988/5.303, allocations: 4.852 MB / 2.037 GB, free: 68.25 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007846/5.311, allocations: 4.118 MB / 2.041 GB, free: 65.53 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.668e-05/5.311, allocations: 0 / 2.041 GB, free: 65.53 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006002/5.311, allocations: 4 kB / 2.041 GB, free: 65.52 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000157/5.311, allocations: 141.3 kB / 2.041 GB, free: 65.38 MB / 0.5108 GB Warning: The model contains alias variables with conflicting start and/or 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.02921/5.341, allocations: 14.97 MB / 2.055 GB, free: 49.25 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007963/5.349, allocations: 11.07 MB / 2.066 GB, free: 36.53 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003142/5.352, allocations: 1.904 MB / 2.068 GB, free: 34.61 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005724/5.352, allocations: 142 kB / 2.068 GB, free: 34.46 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.927e-05/5.353, allocations: 73.27 kB / 2.068 GB, free: 34.38 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=271): time 5.871e-06/5.353, allocations: 0 / 2.068 GB, free: 34.38 MB / 0.5108 GB Notification: Performance of matching and sorting (n=276): time 0.03395/5.387, allocations: 11.4 MB / 2.079 GB, free: 22.77 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.671e-05/5.387, allocations: 103.3 kB / 2.08 GB, free: 22.65 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/5.388, allocations: 482.4 kB / 2.08 GB, free: 22.17 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 0.001071/5.389, allocations: 29.7 kB / 2.08 GB, free: 22.13 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006594/5.39, allocations: 0.7545 MB / 2.081 GB, free: 21.37 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.001466/5.391, allocations: 0.9239 MB / 2.082 GB, free: 20.43 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00037/5.392, allocations: 0 / 2.082 GB, free: 20.43 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0003518/5.392, allocations: 451.5 kB / 2.082 GB, free: 19.98 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002511/5.395, allocations: 1.59 MB / 2.084 GB, free: 18.39 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002884/5.398, allocations: 1.837 MB / 2.085 GB, free: 16.48 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005547/5.403, allocations: 2.456 MB / 2.088 GB, free: 14.01 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.89e-05/5.403, allocations: 0 / 2.088 GB, free: 14.01 MB / 0.5108 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.01223/5.415, allocations: 6.029 MB / 2.094 GB, free: 7.934 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003233/5.416, allocations: 0.9616 MB / 2.095 GB, free: 6.891 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/5.416, allocations: 7.953 kB / 2.095 GB, free: 6.883 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4939/5.91, allocations: 10.28 MB / 2.105 GB, free: 77.58 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00217/5.912, allocations: 310 kB / 2.105 GB, free: 77.58 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0174/5.929, allocations: 8.466 MB / 2.113 GB, free: 75.27 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003914/5.933, allocations: 392.8 kB / 2.114 GB, free: 75.27 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003402/5.934, allocations: 96.5 kB / 2.114 GB, free: 75.27 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/5.934, allocations: 8.641 kB / 2.114 GB, free: 75.27 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01214/5.946, allocations: 5.573 MB / 2.119 GB, free: 75.17 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.223e-05/5.946, allocations: 2.969 kB / 2.119 GB, free: 75.17 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02275/5.969, allocations: 6.422 MB / 2.125 GB, free: 75.14 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002021/5.971, allocations: 362.1 kB / 2.126 GB, free: 75.14 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01246/5.983, allocations: 7.971 MB / 2.134 GB, free: 72.84 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003329/5.987, allocations: 372.3 kB / 2.134 GB, free: 72.84 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002626/5.987, allocations: 92.3 kB / 2.134 GB, free: 72.84 MB / 0.5108 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 133 * 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 {12 155} Notification: Performance of prepare postOptimizeDAE: time 0.0009407/5.988, allocations: 139.5 kB / 2.134 GB, free: 72.73 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01147/6, allocations: 5.339 MB / 2.139 GB, free: 72.57 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008047/6, allocations: 155.4 kB / 2.14 GB, free: 72.57 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01265/6.013, allocations: 5.899 MB / 2.145 GB, free: 72.39 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-05/6.013, allocations: 30.69 kB / 2.145 GB, free: 72.39 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.753e-05/6.013, allocations: 6.25 kB / 2.145 GB, free: 72.39 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.786e-05/6.013, allocations: 12.8 kB / 2.145 GB, free: 72.39 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02571/6.039, allocations: 9.915 MB / 2.155 GB, free: 71.03 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.252e-05/6.039, allocations: 1.094 kB / 2.155 GB, free: 71.03 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003165/6.042, allocations: 0.526 MB / 2.156 GB, free: 71.03 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005334/6.048, allocations: 1.601 MB / 2.157 GB, free: 70.99 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007542/6.048, allocations: 79.25 kB / 2.157 GB, free: 70.99 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0119/6.06, allocations: 9.128 MB / 2.166 GB, free: 67.91 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/6.06, allocations: 7.344 kB / 2.166 GB, free: 67.91 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01494/6.075, allocations: 7.891 MB / 2.174 GB, free: 67.32 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008944/6.076, allocations: 208.2 kB / 2.174 GB, free: 67.16 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000365/6.077, allocations: 45.62 kB / 2.174 GB, free: 67.16 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002928/6.08, allocations: 314.1 kB / 2.174 GB, free: 67.16 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005068/6.08, allocations: 198.6 kB / 2.175 GB, free: 67.15 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003248/6.08, allocations: 137.8 kB / 2.175 GB, free: 67.15 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0005317/6.081, allocations: 375.6 kB / 2.175 GB, free: 67.06 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.9e-07/6.081, allocations: 3.5 kB / 2.175 GB, free: 67.06 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.004279/6.085, allocations: 1.393 MB / 2.176 GB, free: 67.06 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 13 (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.Xtilde[1,1],hex.Xtilde[1,2],hex.p) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (255): * Single equations (assignments): 251 * 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.01634/6.102, allocations: 10.14 MB / 2.186 GB, free: 65.41 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.01242/6.114, allocations: 6.39 MB / 2.193 GB, free: 63.89 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-05/6.114, allocations: 5.844 kB / 2.193 GB, free: 63.89 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.004575/6.119, allocations: 2.49 MB / 2.195 GB, free: 63.01 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004215/6.123, allocations: 0.6365 MB / 2.196 GB, free: 62.91 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/6.135, allocations: 5.862 MB / 2.201 GB, free: 61.23 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001427/6.136, allocations: 1.864 MB / 2.203 GB, free: 60.37 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.003809/6.14, allocations: 1.04 MB / 2.204 GB, free: 60.35 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001356/6.142, allocations: 0.8375 MB / 2.205 GB, free: 59.71 MB / 0.5108 GB Notification: Performance of SimCode: time 1.423e-06/6.142, allocations: 0 / 2.205 GB, free: 59.71 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.581/6.723, allocations: 95.66 MB / 2.298 GB, free: 88.12 MB / 0.5265 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/6.723, allocations: 149.4 kB / 2.299 GB, free: 87.93 MB / 0.5265 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.118/11.84, allocations: 0 / 2.299 GB, free: 87.93 MB / 0.5265 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestGasFlow1DFV_B_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestGasFlow1DFV_B.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B.pipe 2>&1)