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.002048/0.002048, allocations: 180.2 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.962/1.962, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0009236/0.0009236, allocations: 100 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.6864/0.6864, allocations: 48.78 MB / 367.9 MB, free: 47.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004765/0.0004767, allocations: 8 kB / 438.6 MB, free: 11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.22, allocations: 60.26 MB / 498.9 MB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.455/2.675, allocations: 0.7197 GB / 1.207 GB, free: 89.96 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003246/2.675, allocations: 83.95 kB / 1.207 GB, free: 89.88 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.053/5.728, allocations: 0.754 GB / 1.961 GB, free: 77.27 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.643e-06/5.728, allocations: 0 / 1.961 GB, free: 77.27 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.649e-05/5.728, allocations: 36.88 kB / 1.961 GB, free: 77.27 MB / 0.5261 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.004207/5.732, allocations: 1.725 MB / 1.963 GB, free: 76.58 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/5.733, allocations: 11 kB / 1.963 GB, free: 76.58 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/5.734, allocations: 306.7 kB / 1.963 GB, free: 76.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001769/5.736, allocations: 0.8723 MB / 1.964 GB, free: 76.25 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.362e-05/5.736, allocations: 107.2 kB / 1.964 GB, free: 76.25 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/5.736, allocations: 134.3 kB / 1.964 GB, free: 76.25 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002986/5.739, allocations: 1.796 MB / 1.966 GB, free: 76.14 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/5.739, allocations: 3.953 kB / 1.966 GB, free: 76.14 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/5.739, allocations: 62.62 kB / 1.966 GB, free: 76.14 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/5.739, allocations: 39.69 kB / 1.966 GB, free: 76.14 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00247/5.742, allocations: 1.518 MB / 1.967 GB, free: 76.12 MB / 0.5261 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.01001/5.752, allocations: 5.773 MB / 1.973 GB, free: 73.88 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003026/5.755, allocations: 1.191 MB / 1.974 GB, free: 73.82 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.668e-05/5.755, allocations: 17.83 kB / 1.974 GB, free: 73.82 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.81e-05/5.755, allocations: 56.36 kB / 1.974 GB, free: 73.77 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=62): time 2.464e-06/5.755, allocations: 0 / 1.974 GB, free: 73.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=62): time 0.007759/5.763, allocations: 2.482 MB / 1.977 GB, free: 73.45 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/5.763, allocations: 84.67 kB / 1.977 GB, free: 73.36 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001941/5.765, allocations: 1.483 MB / 1.978 GB, free: 73.19 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002679/5.765, allocations: 50.27 kB / 1.978 GB, free: 73.16 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004106/5.766, allocations: 0.6213 MB / 1.979 GB, free: 72.96 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/5.766, allocations: 213.5 kB / 1.979 GB, free: 72.83 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-05/5.766, allocations: 19.44 kB / 1.979 GB, free: 72.83 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.55e-05/5.766, allocations: 336 kB / 1.98 GB, free: 72.52 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008894/5.767, allocations: 483.7 kB / 1.98 GB, free: 72.52 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009282/5.768, allocations: 0.6215 MB / 1.981 GB, free: 72.37 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009306/5.769, allocations: 0.5083 MB / 1.981 GB, free: 72.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/5.769, allocations: 0 / 1.981 GB, free: 72.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002955/5.772, allocations: 1.517 MB / 1.983 GB, free: 72.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003369/5.772, allocations: 1.611 MB / 1.984 GB, free: 70.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/5.772, allocations: 6.094 kB / 1.984 GB, free: 70.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005334/5.777, allocations: 0.7544 MB / 1.985 GB, free: 70.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/5.779, allocations: 244.7 kB / 1.985 GB, free: 70.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002771/5.781, allocations: 4.023 MB / 1.989 GB, free: 67.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/5.783, allocations: 253 kB / 1.989 GB, free: 67.03 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002125/5.784, allocations: 49.56 kB / 1.989 GB, free: 67.03 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/5.784, allocations: 7.781 kB / 1.989 GB, free: 67.03 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00271/5.786, allocations: 1.243 MB / 1.991 GB, free: 66.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/5.786, allocations: 3.75 kB / 1.991 GB, free: 66.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004661/5.787, allocations: 115.1 kB / 1.991 GB, free: 66.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/5.788, allocations: 307.8 kB / 1.991 GB, free: 66.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003288/5.791, allocations: 5.474 MB / 1.996 GB, free: 61.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/5.793, allocations: 231.1 kB / 1.997 GB, free: 61.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/5.793, allocations: 46.03 kB / 1.997 GB, free: 61.81 MB / 0.5261 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 () * Number of clocked 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.0009696/5.794, allocations: 430.3 kB / 1.997 GB, free: 61.61 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004798/5.795, allocations: 155.5 kB / 1.997 GB, free: 61.54 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002835/5.798, allocations: 1.164 MB / 1.998 GB, free: 61.44 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/5.798, allocations: 5.188 kB / 1.998 GB, free: 61.44 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/5.798, allocations: 10.7 kB / 1.998 GB, free: 61.43 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/5.798, allocations: 3.891 kB / 1.998 GB, free: 61.43 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005262/5.803, allocations: 2.475 MB / 2.001 GB, free: 60.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/5.803, allocations: 3.531 kB / 2.001 GB, free: 60.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004728/5.803, allocations: 117.1 kB / 2.001 GB, free: 60.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004654/5.808, allocations: 0.74 MB / 2.002 GB, free: 60.89 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.992e-05/5.808, allocations: 23.88 kB / 2.002 GB, free: 60.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002696/5.811, allocations: 4.038 MB / 2.005 GB, free: 57.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/5.811, allocations: 6.938 kB / 2.005 GB, free: 57.49 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003012/5.814, allocations: 1.428 MB / 2.007 GB, free: 56.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008769/5.815, allocations: 277.5 kB / 2.007 GB, free: 56.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000466/5.815, allocations: 14.97 kB / 2.007 GB, free: 56.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002/5.817, allocations: 133.5 kB / 2.007 GB, free: 56.78 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/5.818, allocations: 49.02 kB / 2.007 GB, free: 56.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002935/5.818, allocations: 66.91 kB / 2.007 GB, free: 56.77 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001912/5.82, allocations: 1.147 MB / 2.009 GB, free: 56.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/5.82, allocations: 0 / 2.009 GB, free: 56.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003858/5.824, allocations: 0.9294 MB / 2.009 GB, free: 56.59 MB / 0.5261 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 () * Number of clocked 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.002685/5.826, allocations: 1.185 MB / 2.011 GB, free: 56.36 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004498/5.831, allocations: 1.869 MB / 2.012 GB, free: 56.09 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/5.831, allocations: 5.5 kB / 2.012 GB, free: 56.09 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/5.832, allocations: 461.7 kB / 2.013 GB, free: 56.07 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004903/5.837, allocations: 0.964 MB / 2.014 GB, free: 56.04 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004634/5.842, allocations: 2.66 MB / 2.016 GB, free: 54.84 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000909/5.842, allocations: 1.231 MB / 2.018 GB, free: 54.14 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001998/5.844, allocations: 324.2 kB / 2.018 GB, free: 54.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003409/5.845, allocations: 100.2 kB / 2.018 GB, free: 54.11 MB / 0.5261 GB Notification: Performance of SimCode: time 1.904e-06/5.845, allocations: 0 / 2.018 GB, free: 54.11 MB / 0.5261 GB Notification: Performance of Templates: time 0.06799/5.913, allocations: 53.67 MB / 2.07 GB, free: 16.05 MB / 0.5261 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)