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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 94.17 kB / 16.3 MB, free: 5.996 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.001458/0.001458, allocations: 184.3 kB / 17.2 MB, free: 5.914 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.349/2.349, allocations: 205.4 MB / 223.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5283/0.5283, allocations: 48.78 MB / 320.4 MB, free: 3.816 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.0005499/0.00055, allocations: 16 kB / 391.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1472, allocations: 60.26 MB / 451.5 MB, free: 1.836 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestGasFlow1DFV_B): time 0.4918/0.6391, allocations: 153 MB / 0.5903 GB, free: 4.117 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008794/0.648, allocations: 4.788 MB / 0.595 GB, free: 15.32 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001298/0.6493, allocations: 15.88 kB / 0.595 GB, free: 15.3 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00166/0.651, allocations: 410.1 kB / 0.5954 GB, free: 14.9 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002724/0.6538, allocations: 0.6271 MB / 0.596 GB, free: 14.27 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004239/0.658, allocations: 1.095 MB / 0.5971 GB, free: 13.18 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004698/0.6627, allocations: 2.95 MB / 0.6 GB, free: 10.23 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002914/0.6657, allocations: 1.374 MB / 0.6013 GB, free: 8.859 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003602/0.6693, allocations: 1.485 MB / 0.6028 GB, free: 7.371 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002708/0.672, allocations: 1.313 MB / 0.604 GB, free: 6.055 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005652/0.6726, allocations: 148 kB / 0.6042 GB, free: 5.91 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002981/0.6756, allocations: 0.8078 MB / 0.605 GB, free: 5.102 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001707/0.6773, allocations: 1.224 MB / 0.6062 GB, free: 3.875 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00142/0.6787, allocations: 0.5668 MB / 0.6067 GB, free: 3.301 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005156/0.6839, allocations: 3.353 MB / 0.61 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.684, allocations: 0 / 0.61 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.518e-06/0.684, allocations: 7.938 kB / 0.61 GB, free: 15.94 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001578/0.6841, allocations: 0 / 0.61 GB, free: 15.94 MB / 494.1 MB 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.008616/0.6928, allocations: 2.727 MB / 0.6127 GB, free: 13.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.129e-05/0.6929, allocations: 16.02 kB / 0.6127 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001904/0.6948, allocations: 391.3 kB / 0.6131 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01018/0.705, allocations: 1.496 MB / 0.6145 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006038/0.7111, allocations: 1.415 MB / 0.6159 GB, free: 9.789 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003894/0.7116, allocations: 196.9 kB / 0.6161 GB, free: 9.594 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00218/0.7138, allocations: 383.5 kB / 0.6165 GB, free: 9.219 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0159/0.7297, allocations: 4.749 MB / 0.6211 GB, free: 4.406 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001572/0.7299, allocations: 0 / 0.6211 GB, free: 4.406 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001534/0.7315, allocations: 108 kB / 0.6212 GB, free: 4.301 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000304/0.7318, allocations: 189.2 kB / 0.6214 GB, free: 4.113 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2947/1.026, allocations: 5.455 MB / 0.6267 GB, free: 150.7 MB / 494.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.02865/1.055, allocations: 15.01 MB / 0.6414 GB, free: 143.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009307/1.065, allocations: 11.26 MB / 0.6524 GB, free: 133 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004388/1.065, allocations: 41.38 kB / 0.6524 GB, free: 133 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.998e-05/1.065, allocations: 77.66 kB / 0.6525 GB, free: 132.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=271): time 5.52e-06/1.065, allocations: 1.422 kB / 0.6525 GB, free: 132.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=276): time 0.04964/1.115, allocations: 14.38 MB / 0.6665 GB, free: 127.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.001e-05/1.115, allocations: 111.7 kB / 0.6666 GB, free: 127.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/1.116, allocations: 0.6968 MB / 0.6673 GB, free: 127.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001121/1.117, allocations: 83.55 kB / 0.6674 GB, free: 127.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006712/1.118, allocations: 0.7517 MB / 0.6681 GB, free: 126.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00152/1.119, allocations: 0.9519 MB / 0.669 GB, free: 126.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/1.12, allocations: 44.38 kB / 0.6691 GB, free: 126 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/1.12, allocations: 411.5 kB / 0.6695 GB, free: 125.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003611/1.123, allocations: 2.024 MB / 0.6715 GB, free: 125 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003865/1.127, allocations: 2.253 MB / 0.6737 GB, free: 124 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004035/1.131, allocations: 2.247 MB / 0.6759 GB, free: 122.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/1.131, allocations: 0 / 0.6759 GB, free: 122.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.08031/1.212, allocations: 14.71 MB / 0.6902 GB, free: 112.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003345/1.212, allocations: 0.9733 MB / 0.6912 GB, free: 111.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/1.212, allocations: 4 kB / 0.6912 GB, free: 111.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05516/1.267, allocations: 13.69 MB / 0.7045 GB, free: 97.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/1.269, allocations: 306.2 kB / 0.7048 GB, free: 97.28 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/1.281, allocations: 8.456 MB / 0.7131 GB, free: 88.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003929/1.284, allocations: 459.2 kB / 0.7135 GB, free: 88.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002986/1.285, allocations: 93.2 kB / 0.7136 GB, free: 88.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/1.285, allocations: 4 kB / 0.7136 GB, free: 88.19 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0552/1.34, allocations: 10.89 MB / 0.7243 GB, free: 77.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-05/1.34, allocations: 8.078 kB / 0.7243 GB, free: 77.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02606/1.366, allocations: 8.222 MB / 0.7323 GB, free: 69.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001833/1.368, allocations: 350.3 kB / 0.7326 GB, free: 68.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009679/1.378, allocations: 8.049 MB / 0.7405 GB, free: 60.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003894/1.382, allocations: 443.4 kB / 0.7409 GB, free: 60.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005339/1.382, allocations: 87.97 kB / 0.741 GB, free: 60.01 MB / 494.1 MB 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 () * Number of clocked 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.002262/1.385, allocations: 0.8132 MB / 0.7418 GB, free: 59.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000671/1.385, allocations: 162.2 kB / 0.7419 GB, free: 59.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01115/1.396, allocations: 6.354 MB / 0.7482 GB, free: 52.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.403e-05/1.396, allocations: 24 kB / 0.7482 GB, free: 52.59 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.967e-05/1.397, allocations: 8 kB / 0.7482 GB, free: 52.58 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-05/1.397, allocations: 11.95 kB / 0.7482 GB, free: 52.57 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02248/1.419, allocations: 11.2 MB / 0.7591 GB, free: 41.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-05/1.419, allocations: 4 kB / 0.7591 GB, free: 41.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00383/1.423, allocations: 0.5527 MB / 0.7597 GB, free: 40.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004687/1.428, allocations: 1.639 MB / 0.7613 GB, free: 38.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008987/1.429, allocations: 119.9 kB / 0.7614 GB, free: 38.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01143/1.44, allocations: 9.585 MB / 0.7708 GB, free: 29.04 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/1.44, allocations: 0 / 0.7708 GB, free: 29.04 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01607/1.456, allocations: 8.383 MB / 0.7789 GB, free: 20.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007984/1.457, allocations: 223.2 kB / 0.7792 GB, free: 20.26 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000867/1.458, allocations: 94.52 kB / 0.7792 GB, free: 20.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004268/1.462, allocations: 387.3 kB / 0.7796 GB, free: 19.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006793/1.463, allocations: 193.8 kB / 0.7798 GB, free: 19.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000508/1.463, allocations: 143.8 kB / 0.7799 GB, free: 19.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006575/1.464, allocations: 499 kB / 0.7804 GB, free: 18.97 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/1.464, allocations: 0 / 0.7804 GB, free: 18.97 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004199/1.468, allocations: 1.526 MB / 0.7819 GB, free: 17.46 MB / 494.1 MB 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 () * Number of clocked 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.0145/1.483, allocations: 9.799 MB / 0.7915 GB, free: 7.551 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01371/1.497, allocations: 7.743 MB / 0.799 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.709e-05/1.497, allocations: 6.562 kB / 0.799 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005913/1.503, allocations: 2.972 MB / 0.8019 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005319/1.508, allocations: 0.7801 MB / 0.8027 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3638/1.872, allocations: 30 MB / 0.832 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002138/1.874, allocations: 1.865 MB / 0.8338 GB, free: 158.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005413/1.879, allocations: 1.103 MB / 0.8349 GB, free: 158.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002631/1.882, allocations: 0.8676 MB / 0.8357 GB, free: 157.6 MB / 0.4981 GB Notification: Performance of SimCode: time 1.442e-06/1.882, allocations: 0 / 0.8357 GB, free: 157.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1535/2.036, allocations: 110.6 MB / 0.9437 GB, free: 61.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/2.036, allocations: 224.7 kB / 0.9439 GB, free: 61.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.258/8.293, allocations: 0 / 0.9439 GB, free: 61.37 MB / 0.4981 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) Environment - environmentSimulation: