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.001179/0.001179, allocations: 186.5 kB / 17.27 MB, free: 4.48 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.28/1.28, allocations: 205.1 MB / 223.1 MB, free: 8.473 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.0009791/0.0009792, allocations: 104.8 kB / 270.5 MB, free: 8.422 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3864/0.3864, allocations: 48.82 MB / 366.7 MB, free: 46.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 55.84 kB / 436.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1103, allocations: 59.15 MB / 495.7 MB, free: 144 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValveOpPoint): time 0.3893/0.4997, allocations: 209.6 MB / 0.6888 GB, free: 1.535 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.261/0.7607, allocations: 3.076 MB / 0.6918 GB, free: 1.445 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000768/0.7615, allocations: 22.19 kB / 0.6918 GB, free: 1.445 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.7629, allocations: 0.549 MB / 0.6924 GB, free: 1.441 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00162/0.7646, allocations: 0.8259 MB / 0.6932 GB, free: 1.43 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003576/0.7682, allocations: 1.426 MB / 0.6946 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.004628/0.7728, allocations: 3.957 MB / 0.6984 GB, free: 1.414 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/0.7742, allocations: 0.8509 MB / 0.6993 GB, free: 1.355 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/0.7761, allocations: 1.02 MB / 0.7003 GB, free: 1.355 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001154/0.7772, allocations: 1.045 MB / 0.7013 GB, free: 1.352 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002038/0.7775, allocations: 74.66 kB / 0.7014 GB, free: 1.352 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003275/0.7807, allocations: 1.709 MB / 0.703 GB, free: 1.348 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0007393/0.7815, allocations: 0.7462 MB / 0.7038 GB, free: 1.348 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.001247/0.7827, allocations: 0.9511 MB / 0.7047 GB, free: 1.348 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.004071/0.7868, allocations: 2.949 MB / 0.7076 GB, free: 1.242 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.7869, allocations: 2.562 kB / 0.7076 GB, free: 1.242 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7869, allocations: 0 / 0.7076 GB, free: 1.242 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.05e-05/0.7869, allocations: 0 / 0.7076 GB, free: 1.242 MB / 0.4948 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.004263/0.7912, allocations: 2.103 MB / 0.7096 GB, free: 16.32 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.7912, allocations: 9.562 kB / 0.7096 GB, free: 16.32 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001401/0.7926, allocations: 319.9 kB / 0.7099 GB, free: 16.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.7941, allocations: 0.8573 MB / 0.7108 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.452e-05/0.7943, allocations: 105.2 kB / 0.7109 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001903/0.7945, allocations: 139.6 kB / 0.711 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003358/0.7978, allocations: 1.819 MB / 0.7128 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.7979, allocations: 2.625 kB / 0.7128 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001686/0.798, allocations: 62.72 kB / 0.7129 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.756e-05/0.7981, allocations: 32.59 kB / 0.7129 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002946/0.801, allocations: 1.511 MB / 0.7144 GB, free: 15.76 MB / 0.5105 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.01228/0.8133, allocations: 5.9 MB / 0.7201 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003435/0.8168, allocations: 0.9822 MB / 0.7211 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007648/0.8176, allocations: 332 kB / 0.7214 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.558e-05/0.8177, allocations: 12.23 kB / 0.7214 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.088e-05/0.8177, allocations: 54.03 kB / 0.7215 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=62): time 4.167e-06/0.8178, allocations: 1.188 kB / 0.7215 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=62): time 0.007962/0.8257, allocations: 2.14 MB / 0.7235 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.8258, allocations: 85.19 kB / 0.7236 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/0.828, allocations: 1.653 MB / 0.7252 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002178/0.8282, allocations: 53.77 kB / 0.7253 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004419/0.8287, allocations: 0.615 MB / 0.7259 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.8289, allocations: 211.6 kB / 0.7261 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003183/0.8292, allocations: 188.1 kB / 0.7263 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.8293, allocations: 339.8 kB / 0.7266 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009749/0.8303, allocations: 464 kB / 0.727 GB, free: 12 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.8314, allocations: 0.6053 MB / 0.7276 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/0.8332, allocations: 0.899 MB / 0.7285 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.8332, allocations: 0.9062 kB / 0.7285 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003392/0.8366, allocations: 1.469 MB / 0.7299 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.8366, allocations: 7.812 kB / 0.73 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.8367, allocations: 8.547 kB / 0.73 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006249/0.8429, allocations: 0.9662 MB / 0.7309 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.8441, allocations: 235.2 kB / 0.7311 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00345/0.8475, allocations: 3.976 MB / 0.735 GB, free: 8.066 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/0.8494, allocations: 239.3 kB / 0.7352 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.8495, allocations: 46.73 kB / 0.7353 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001406/0.8509, allocations: 0.7024 MB / 0.736 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001096/0.8521, allocations: 0.6003 MB / 0.7366 GB, free: 7.691 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001699/0.8538, allocations: 0.8851 MB / 0.7374 GB, free: 7.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.42e-06/0.8538, allocations: 3.25 kB / 0.7374 GB, free: 7.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.003069/0.8569, allocations: 1.341 MB / 0.7387 GB, free: 7.133 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.8569, allocations: 15.83 kB / 0.7388 GB, free: 7.125 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.8569, allocations: 5.812 kB / 0.7388 GB, free: 7.125 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000485/0.8574, allocations: 118.3 kB / 0.7389 GB, free: 7.078 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.8588, allocations: 289.4 kB / 0.7391 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00446/0.8632, allocations: 5.434 MB / 0.7445 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/0.8651, allocations: 141.1 kB / 0.7446 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.8653, allocations: 51.81 kB / 0.7446 GB, free: 1.781 MB / 0.5105 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 (not torn): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,12), (1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005048/0.8658, allocations: 240.8 kB / 0.7449 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003509/0.8661, allocations: 155.9 kB / 0.745 GB, free: 1.516 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002816/0.869, allocations: 1.064 MB / 0.7461 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.869, allocations: 6.625 kB / 0.7461 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.869, allocations: 0 / 0.7461 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.869, allocations: 6.203 kB / 0.7461 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004731/0.8737, allocations: 2.342 MB / 0.7484 GB, free: 224 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.8738, allocations: 0 / 0.7484 GB, free: 224 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004775/0.8742, allocations: 119.3 kB / 0.7485 GB, free: 204 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005443/0.8797, allocations: 0.8171 MB / 0.7493 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.669e-05/0.8798, allocations: 17.36 kB / 0.7493 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003169/0.883, allocations: 3.984 MB / 0.7532 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.883, allocations: 5.781 kB / 0.7532 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004318/0.8873, allocations: 2.432 MB / 0.7556 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006867/0.888, allocations: 268 kB / 0.7558 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/0.8882, allocations: 17.41 kB / 0.7558 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/0.8896, allocations: 108 kB / 0.7559 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.8897, allocations: 54.95 kB / 0.756 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/0.8899, allocations: 64.58 kB / 0.756 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001407/0.8913, allocations: 1.155 MB / 0.7572 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8913, allocations: 0 / 0.7572 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002531/0.8938, allocations: 0.8508 MB / 0.758 GB, free: 9.695 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 (not torn): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,13), (1,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001269/0.8951, allocations: 483.6 kB / 0.7585 GB, free: 9.266 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004575/0.8997, allocations: 1.811 MB / 0.7602 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.8997, allocations: 5.094 kB / 0.7602 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.9009, allocations: 436.5 kB / 0.7607 GB, free: 7.496 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004749/0.9057, allocations: 0.9751 MB / 0.7616 GB, free: 6.668 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00418/0.9099, allocations: 3.101 MB / 0.7646 GB, free: 3.828 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008157/0.9107, allocations: 1.228 MB / 0.7658 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001709/0.9124, allocations: 340.3 kB / 0.7662 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/0.9127, allocations: 95.42 kB / 0.7662 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of SimCode: time 1.362e-06/0.9127, allocations: 0 / 0.7662 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of Templates: time 0.0643/0.977, allocations: 43.87 MB / 0.8091 GB, free: 6.586 MB / 0.573 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)