Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.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: translateModel(ThermoPower.Test.GasComponents.TestGasValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValve") translateModel(ThermoPower.Test.GasComponents.TestGasValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 108.7 kB / 17.74 MB, free: 5.227 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.001321/0.001321, allocations: 190.4 kB / 18.67 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3463/0.3463, allocations: 48.84 MB / 320.7 MB, free: 11.01 MB / 270.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.001747/0.001747, allocations: 71.88 kB / 451.2 MB, free: 8.559 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1287, allocations: 59.16 MB / 0.4984 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValve): time 0.5818/0.7105, allocations: 251.7 MB / 0.7442 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01012/0.7207, allocations: 4.801 MB / 0.7489 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002126/0.7229, allocations: 31.81 kB / 0.7489 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003246/0.7262, allocations: 1.029 MB / 0.7499 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004009/0.7302, allocations: 1.418 MB / 0.7513 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00724/0.7375, allocations: 2.468 MB / 0.7537 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006841/0.7443, allocations: 4.384 MB / 0.758 GB, free: 124 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3378/1.082, allocations: 1.316 MB / 0.7593 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004383/1.087, allocations: 1.616 MB / 0.7608 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004/1.091, allocations: 1.466 MB / 0.7623 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008884/1.092, allocations: 201.9 kB / 0.7625 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006798/1.098, allocations: 1.683 MB / 0.7641 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001826/1.1, allocations: 0.9103 MB / 0.765 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004182/1.104, allocations: 1.311 MB / 0.7663 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009267/1.114, allocations: 3.481 MB / 0.7697 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/1.114, allocations: 0 / 0.7697 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.056e-06/1.114, allocations: 1.953 kB / 0.7697 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001095/1.114, allocations: 0.9375 kB / 0.7697 GB, free: 4.219 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.006858/1.121, allocations: 2.627 MB / 0.7723 GB, free: 19.28 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/1.121, allocations: 12.83 kB / 0.7723 GB, free: 19.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002245/1.123, allocations: 393.8 kB / 0.7726 GB, free: 19.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/1.125, allocations: 1.066 MB / 0.7737 GB, free: 18.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/1.125, allocations: 136.6 kB / 0.7738 GB, free: 18.76 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002766/1.126, allocations: 174.1 kB / 0.774 GB, free: 18.76 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004337/1.13, allocations: 2.112 MB / 0.776 GB, free: 18.65 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.008e-05/1.13, allocations: 0.9375 kB / 0.776 GB, free: 18.65 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000208/1.13, allocations: 78.94 kB / 0.7761 GB, free: 18.65 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.232e-05/1.13, allocations: 41.69 kB / 0.7762 GB, free: 18.65 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003704/1.134, allocations: 1.812 MB / 0.7779 GB, free: 18.63 MB / 0.6075 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.01154/1.145, allocations: 7.218 MB / 0.785 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004352/1.15, allocations: 1.441 MB / 0.7864 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/1.151, allocations: 0.5064 MB / 0.7869 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.043e-05/1.151, allocations: 28.56 kB / 0.7869 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.49e-05/1.151, allocations: 58 kB / 0.787 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=100): time 3.386e-06/1.151, allocations: 0 / 0.787 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of matching and sorting (n=100): time 0.01471/1.166, allocations: 3.57 MB / 0.7904 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.256e-05/1.166, allocations: 118.5 kB / 0.7906 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003069/1.169, allocations: 1.847 MB / 0.7924 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000445/1.169, allocations: 60.7 kB / 0.7924 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006886/1.17, allocations: 0.8165 MB / 0.7932 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004286/1.171, allocations: 348.1 kB / 0.7935 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005347/1.171, allocations: 276.5 kB / 0.7938 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001636/1.171, allocations: 307.6 kB / 0.7941 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/1.173, allocations: 0.5681 MB / 0.7947 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/1.174, allocations: 0.9708 MB / 0.7956 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002715/1.177, allocations: 1.496 MB / 0.7971 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/1.177, allocations: 5.281 kB / 0.7971 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004798/1.182, allocations: 2.063 MB / 0.7991 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/1.182, allocations: 11.5 kB / 0.7991 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/1.182, allocations: 11.56 kB / 0.7991 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00991/1.192, allocations: 1.546 MB / 0.8006 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/1.194, allocations: 329.5 kB / 0.8009 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005839/1.199, allocations: 6.031 MB / 0.8068 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002971/1.202, allocations: 295 kB / 0.8071 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000217/1.203, allocations: 76.77 kB / 0.8072 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001902/1.205, allocations: 0.8326 MB / 0.808 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001598/1.206, allocations: 0.966 MB / 0.8089 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002564/1.209, allocations: 1.457 MB / 0.8104 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.606e-06/1.209, allocations: 2.781 kB / 0.8104 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004222/1.213, allocations: 1.843 MB / 0.8122 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/1.213, allocations: 17.5 kB / 0.8122 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.409e-05/1.213, allocations: 14.12 kB / 0.8122 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006539/1.214, allocations: 186.4 kB / 0.8124 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/1.215, allocations: 406.5 kB / 0.8128 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005911/1.221, allocations: 7.899 MB / 0.8205 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002601/1.224, allocations: 195.5 kB / 0.8207 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002239/1.224, allocations: 73.88 kB / 0.8207 GB, free: 14.66 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (142): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * 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): 7 systems {1, 1, 1, 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 {(2,18), (2,18)} Notification: Performance of prepare postOptimizeDAE: time 0.0006646/1.225, allocations: 276 kB / 0.821 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005649/1.225, allocations: 206.5 kB / 0.8212 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004149/1.23, allocations: 1.644 MB / 0.8228 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/1.23, allocations: 5.438 kB / 0.8228 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/1.23, allocations: 0.8906 kB / 0.8228 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007948/1.23, allocations: 313.7 kB / 0.8231 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003048/1.231, allocations: 19.81 kB / 0.8231 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001803/1.233, allocations: 123.3 kB / 0.8232 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/1.233, allocations: 76.3 kB / 0.8233 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006606/1.239, allocations: 2.209 MB / 0.8255 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004758/1.244, allocations: 2.134 MB / 0.8275 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001201/1.245, allocations: 499.6 kB / 0.828 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002244/1.248, allocations: 1.256 MB / 0.8293 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of Backend: time 4.81e-07/1.248, allocations: 0 / 0.8293 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01043/1.258, allocations: 2.731 MB / 0.8319 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of SimCode: time 0.009708/1.268, allocations: 4.465 MB / 0.8363 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of Templates: time 0.09273/1.361, allocations: 56.03 MB / 0.891 GB, free: 3.453 MB / 0.67 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe 2>&1)