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.001049/0.001049, allocations: 106.7 kB / 17.06 MB, free: 6.102 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.001046/0.001046, allocations: 194.9 kB / 18 MB, free: 5.176 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.347/1.347, allocations: 205.1 MB / 223.9 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.284/0.284, allocations: 48.85 MB / 320.1 MB, free: 10.99 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.001486/0.001486, allocations: 72.31 kB / 450.5 MB, free: 8.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.129, allocations: 59.16 MB / 0.4977 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValve): time 0.5745/0.7035, allocations: 251.7 MB / 0.7435 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009033/0.7126, allocations: 4.811 MB / 0.7482 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001854/0.7145, allocations: 31.81 kB / 0.7482 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003082/0.7177, allocations: 1.048 MB / 0.7493 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00433/0.722, allocations: 1.449 MB / 0.7507 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008755/0.7308, allocations: 2.492 MB / 0.7531 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007858/0.7387, allocations: 4.384 MB / 0.7574 GB, free: 36 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3854/1.124, allocations: 1.323 MB / 0.7587 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003486/1.128, allocations: 1.643 MB / 0.7603 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003014/1.131, allocations: 1.457 MB / 0.7617 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006595/1.131, allocations: 202.7 kB / 0.7619 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004144/1.135, allocations: 1.689 MB / 0.7636 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00119/1.137, allocations: 0.9074 MB / 0.7644 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002137/1.139, allocations: 1.309 MB / 0.7657 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006071/1.145, allocations: 3.485 MB / 0.7691 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/1.145, allocations: 0.625 kB / 0.7691 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.893e-06/1.145, allocations: 0 / 0.7691 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.413e-05/1.145, allocations: 1.531 kB / 0.7691 GB, free: 4.102 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.006272/1.151, allocations: 2.626 MB / 0.7717 GB, free: 19.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/1.151, allocations: 14.77 kB / 0.7717 GB, free: 19.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002165/1.154, allocations: 395.1 kB / 0.7721 GB, free: 19.04 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/1.155, allocations: 1.072 MB / 0.7731 GB, free: 18.65 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/1.155, allocations: 134.9 kB / 0.7733 GB, free: 18.64 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002641/1.156, allocations: 171.5 kB / 0.7734 GB, free: 18.64 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004538/1.16, allocations: 2.11 MB / 0.7755 GB, free: 18.53 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.527e-05/1.16, allocations: 0 / 0.7755 GB, free: 18.53 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002379/1.161, allocations: 83.64 kB / 0.7756 GB, free: 18.53 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-05/1.161, allocations: 42.97 kB / 0.7756 GB, free: 18.53 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00399/1.165, allocations: 1.806 MB / 0.7774 GB, free: 18.52 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.01105/1.176, allocations: 7.214 MB / 0.7844 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004236/1.18, allocations: 1.447 MB / 0.7858 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/1.181, allocations: 0.5051 MB / 0.7863 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/1.181, allocations: 24.61 kB / 0.7863 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.204e-05/1.181, allocations: 62.84 kB / 0.7864 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=100): time 2.765e-06/1.181, allocations: 1 kB / 0.7864 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=100): time 0.01372/1.195, allocations: 3.57 MB / 0.7899 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/1.195, allocations: 117.9 kB / 0.79 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002338/1.197, allocations: 1.85 MB / 0.7918 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002544/1.198, allocations: 57.3 kB / 0.7919 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000521/1.198, allocations: 0.8177 MB / 0.7927 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/1.198, allocations: 347.8 kB / 0.793 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004142/1.199, allocations: 280.1 kB / 0.7933 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.541e-05/1.199, allocations: 303.4 kB / 0.7935 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/1.2, allocations: 0.5728 MB / 0.7941 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/1.202, allocations: 0.9705 MB / 0.795 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002419/1.204, allocations: 1.493 MB / 0.7965 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.829e-06/1.204, allocations: 3.734 kB / 0.7965 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004312/1.208, allocations: 2.066 MB / 0.7985 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/1.208, allocations: 10.88 kB / 0.7985 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.885e-05/1.208, allocations: 16.14 kB / 0.7986 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009156/1.218, allocations: 1.543 MB / 0.8001 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/1.219, allocations: 330.1 kB / 0.8004 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005186/1.224, allocations: 6.031 MB / 0.8063 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002366/1.226, allocations: 293.1 kB / 0.8065 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/1.227, allocations: 76.66 kB / 0.8066 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001674/1.228, allocations: 0.8345 MB / 0.8074 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001362/1.23, allocations: 0.9628 MB / 0.8084 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002338/1.232, allocations: 1.456 MB / 0.8098 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.657e-06/1.232, allocations: 4.438 kB / 0.8098 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.003659/1.236, allocations: 1.849 MB / 0.8116 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/1.236, allocations: 14.91 kB / 0.8116 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/1.236, allocations: 13.06 kB / 0.8116 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005909/1.236, allocations: 188.7 kB / 0.8118 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/1.238, allocations: 406.5 kB / 0.8122 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005547/1.243, allocations: 7.901 MB / 0.8199 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/1.245, allocations: 191.1 kB / 0.8201 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/1.246, allocations: 83.83 kB / 0.8202 GB, free: 14.52 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.0005759/1.246, allocations: 272 kB / 0.8204 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004015/1.247, allocations: 203.5 kB / 0.8206 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003953/1.25, allocations: 1.643 MB / 0.8222 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/1.251, allocations: 15.5 kB / 0.8223 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/1.251, allocations: 0 / 0.8223 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/1.251, allocations: 7.922 kB / 0.8223 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00626/1.257, allocations: 3.489 MB / 0.8257 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/1.257, allocations: 3.562 kB / 0.8257 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007374/1.258, allocations: 195.8 kB / 0.8259 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007362/1.265, allocations: 1.248 MB / 0.8271 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-05/1.265, allocations: 33.23 kB / 0.8271 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004726/1.27, allocations: 6.038 MB / 0.833 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/1.27, allocations: 8.219 kB / 0.833 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004252/1.274, allocations: 1.946 MB / 0.8349 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007097/1.275, allocations: 320 kB / 0.8352 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002708/1.275, allocations: 23.94 kB / 0.8352 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001691/1.277, allocations: 131.9 kB / 0.8354 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/1.277, allocations: 82.98 kB / 0.8354 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001485/1.277, allocations: 86.92 kB / 0.8355 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001477/1.279, allocations: 1.258 MB / 0.8368 GB, free: 7.164 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/1.279, allocations: 0 / 0.8368 GB, free: 7.164 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004306/1.283, allocations: 1.113 MB / 0.8378 GB, free: 7.066 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (75): * Single equations (assignments): 66 * 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,20), (2,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002005/1.285, allocations: 0.5339 MB / 0.8384 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.009013/1.294, allocations: 2.579 MB / 0.8409 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-05/1.294, allocations: 5 kB / 0.8409 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00287/1.297, allocations: 0.7037 MB / 0.8416 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007179/1.304, allocations: 1.109 MB / 0.8427 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007056/1.311, allocations: 3.049 MB / 0.8456 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001337/1.313, allocations: 1.369 MB / 0.847 GB, free: 380 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002628/1.315, allocations: 386.9 kB / 0.8473 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004273/1.316, allocations: 124.8 kB / 0.8475 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of SimCode: time 1.152e-06/1.316, allocations: 0 / 0.8475 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of Templates: time 0.08297/1.399, allocations: 53.23 MB / 0.8994 GB, free: 10.86 MB / 0.6856 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)