Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.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: translateModel(ThermoPower.Test.GasComponents.TestGasValveOpPoint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint") translateModel(ThermoPower.Test.GasComponents.TestGasValveOpPoint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001398/0.001398, allocations: 178 kB / 8.352 MB, free: 0.7031 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.898/1.898, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.000997/0.000997, allocations: 85.03 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6449/0.6449, allocations: 48.77 MB / 358.8 MB, free: 53.18 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.013e-05/2.016e-05, allocations: 0 / 425.3 MB, free: 8.246 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1993, allocations: 60.25 MB / 485.5 MB, free: 11.84 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.597/2.797, allocations: 0.719 GB / 1.193 GB, free: 88.28 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003753/2.797, allocations: 80.45 kB / 1.193 GB, free: 88.24 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 3.281/6.078, allocations: 0.7445 GB / 1.938 GB, free: 63.01 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.843e-06/6.078, allocations: 0 / 1.938 GB, free: 63.01 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0001602/6.078, allocations: 44.16 kB / 1.938 GB, free: 63 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.005509/6.084, allocations: 1.578 MB / 1.939 GB, free: 62.38 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/6.084, allocations: 16.75 kB / 1.939 GB, free: 62.38 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002281/6.086, allocations: 305.4 kB / 1.94 GB, free: 62.3 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002677/6.089, allocations: 0.8685 MB / 1.94 GB, free: 62.04 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/6.089, allocations: 45.47 kB / 1.94 GB, free: 62.04 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005207/6.089, allocations: 80.56 kB / 1.941 GB, free: 62.04 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002713/6.092, allocations: 1.244 MB / 1.942 GB, free: 62.04 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003482/6.096, allocations: 1.467 MB / 1.943 GB, free: 61.93 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.171e-05/6.096, allocations: 6 kB / 1.943 GB, free: 61.93 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003398/6.096, allocations: 3.5 kB / 1.943 GB, free: 61.93 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.163e-05/6.096, allocations: 36.77 kB / 1.943 GB, free: 61.93 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.01047/6.107, allocations: 5.214 MB / 1.948 GB, free: 59.91 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002692/6.109, allocations: 0.9928 MB / 1.949 GB, free: 59.86 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003571/6.11, allocations: 245 kB / 1.95 GB, free: 59.85 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 8.502e-05/6.11, allocations: 12.81 kB / 1.95 GB, free: 59.85 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.217e-05/6.11, allocations: 58.03 kB / 1.95 GB, free: 59.8 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=62): time 3.426e-06/6.11, allocations: 3.172 kB / 1.95 GB, free: 59.8 MB / 0.5108 GB Notification: Performance of matching and sorting (n=62): time 0.002352/6.112, allocations: 0.7715 MB / 1.95 GB, free: 59.7 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/6.112, allocations: 83.83 kB / 1.95 GB, free: 59.61 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007801/6.113, allocations: 0.689 MB / 1.951 GB, free: 59.48 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 0.0001514/6.113, allocations: 26.95 kB / 1.951 GB, free: 59.45 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003339/6.113, allocations: 0.6532 MB / 1.952 GB, free: 59.15 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/6.114, allocations: 209.1 kB / 1.952 GB, free: 59.02 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/6.114, allocations: 2 kB / 1.952 GB, free: 59.02 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.000109/6.114, allocations: 395.6 kB / 1.952 GB, free: 58.7 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004244/6.114, allocations: 344.1 kB / 1.953 GB, free: 58.7 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005148/6.115, allocations: 486.8 kB / 1.953 GB, free: 58.54 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009091/6.116, allocations: 426.9 kB / 1.954 GB, free: 58.54 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/6.116, allocations: 0 / 1.954 GB, free: 58.54 MB / 0.5108 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001914/6.118, allocations: 1.129 MB / 1.955 GB, free: 58.43 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003159/6.118, allocations: 1.568 MB / 1.956 GB, free: 56.8 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/6.118, allocations: 7.219 kB / 1.956 GB, free: 56.8 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002018/6.12, allocations: 398.1 kB / 1.957 GB, free: 56.77 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/6.121, allocations: 240.8 kB / 1.957 GB, free: 56.77 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/6.123, allocations: 3.944 MB / 1.961 GB, free: 53.38 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/6.125, allocations: 166.2 kB / 1.961 GB, free: 53.33 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.855e-05/6.125, allocations: 48.23 kB / 1.961 GB, free: 53.33 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/6.125, allocations: 6.812 kB / 1.961 GB, free: 53.33 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001755/6.126, allocations: 0.9074 MB / 1.962 GB, free: 53.29 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/6.126, allocations: 13.09 kB / 1.962 GB, free: 53.29 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004061/6.127, allocations: 103.5 kB / 1.962 GB, free: 53.27 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/6.128, allocations: 306.3 kB / 1.962 GB, free: 53.27 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003033/6.131, allocations: 5.347 MB / 1.967 GB, free: 48.38 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/6.132, allocations: 140.2 kB / 1.968 GB, free: 48.34 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.947e-05/6.132, allocations: 42.02 kB / 1.968 GB, free: 48.34 MB / 0.5108 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 12,1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004195/6.133, allocations: 124.8 kB / 1.968 GB, free: 48.23 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/6.133, allocations: 113.5 kB / 1.968 GB, free: 48.18 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001815/6.135, allocations: 0.7801 MB / 1.969 GB, free: 48.1 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/6.135, allocations: 7.906 kB / 1.969 GB, free: 48.1 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/6.135, allocations: 3.781 kB / 1.969 GB, free: 48.1 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/6.135, allocations: 3.938 kB / 1.969 GB, free: 48.1 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003431/6.138, allocations: 2.013 MB / 1.971 GB, free: 47.63 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/6.138, allocations: 3.906 kB / 1.971 GB, free: 47.63 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004435/6.139, allocations: 119.6 kB / 1.971 GB, free: 47.62 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001452/6.14, allocations: 376.9 kB / 1.971 GB, free: 47.6 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.237e-05/6.14, allocations: 13.03 kB / 1.971 GB, free: 47.6 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/6.142, allocations: 3.903 MB / 1.975 GB, free: 44.2 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/6.142, allocations: 3.938 kB / 1.975 GB, free: 44.2 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/6.144, allocations: 1.06 MB / 1.976 GB, free: 43.73 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002926/6.144, allocations: 192.3 kB / 1.976 GB, free: 43.58 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/6.144, allocations: 3.953 kB / 1.976 GB, free: 43.57 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/6.146, allocations: 109.5 kB / 1.976 GB, free: 43.57 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.711e-05/6.146, allocations: 48.47 kB / 1.976 GB, free: 43.57 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/6.146, allocations: 64.22 kB / 1.976 GB, free: 43.57 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.000527/6.146, allocations: 0.5074 MB / 1.977 GB, free: 43.48 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.6e-07/6.146, allocations: 2.062 kB / 1.977 GB, free: 43.48 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.002658/6.149, allocations: 0.9748 MB / 1.978 GB, free: 43.3 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 13,1 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.002001/6.151, allocations: 1.371 MB / 1.979 GB, free: 43.07 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.002593/6.154, allocations: 1.468 MB / 1.98 GB, free: 42.8 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/6.154, allocations: 5 kB / 1.98 GB, free: 42.8 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.0006541/6.154, allocations: 338.5 kB / 1.981 GB, free: 42.78 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001957/6.156, allocations: 381.8 kB / 1.981 GB, free: 42.77 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/6.159, allocations: 1.48 MB / 1.983 GB, free: 42.26 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/6.159, allocations: 1.239 MB / 1.984 GB, free: 41.55 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.001197/6.161, allocations: 254.6 kB / 1.984 GB, free: 41.54 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/6.161, allocations: 61.59 kB / 1.984 GB, free: 41.53 MB / 0.5108 GB Notification: Performance of SimCode: time 1.072e-06/6.161, allocations: 0 / 1.984 GB, free: 41.53 MB / 0.5108 GB Notification: Performance of Templates: time 0.04268/6.203, allocations: 30.93 MB / 2.014 GB, free: 39.66 MB / 0.5108 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.pipe 2>&1)