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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001974/0.001974, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001969/0.001969, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.293/1.293, allocations: 158.6 MB / 186.1 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2731/0.2731, allocations: 36.34 MB / 274.7 MB, free: 10.8 MB / 266.7 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.GasComponents.TestGasValveOpPoint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint") translateModel(ThermoPower.Test.GasComponents.TestGasValveOpPoint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 353 MB, free: 3.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.928e-05/3.099e-05, allocations: 5.969 kB / 353.1 MB, free: 3.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValveOpPoint): time 0.4254/0.4254, allocations: 204.5 MB / 0.5445 GB, free: 14.71 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006734/0.4322, allocations: 3.053 MB / 0.5475 GB, free: 11.65 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.4332, allocations: 27.75 kB / 0.5475 GB, free: 11.62 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002121/0.4354, allocations: 0.5937 MB / 0.5481 GB, free: 11.03 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002875/0.4382, allocations: 0.9276 MB / 0.549 GB, free: 10.09 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005112/0.4433, allocations: 1.608 MB / 0.5506 GB, free: 8.48 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004764/0.4481, allocations: 2.999 MB / 0.5535 GB, free: 5.473 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002019/0.4501, allocations: 0.8871 MB / 0.5543 GB, free: 4.57 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004054/0.4542, allocations: 1.559 MB / 0.5559 GB, free: 3.008 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002334/0.4565, allocations: 0.8881 MB / 0.5567 GB, free: 2.117 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006749/0.4572, allocations: 148 kB / 0.5569 GB, free: 1.973 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003467/0.4607, allocations: 1.071 MB / 0.5579 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001319/0.462, allocations: 0.8613 MB / 0.5588 GB, free: 36 kB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001639/0.4636, allocations: 0.7993 MB / 0.5595 GB, free: 15.23 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005031/0.4686, allocations: 3.074 MB / 0.5625 GB, free: 12.15 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.4687, allocations: 3.984 kB / 0.5626 GB, free: 12.15 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4687, allocations: 0 / 0.5626 GB, free: 12.15 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.206e-05/0.4687, allocations: 3.938 kB / 0.5626 GB, free: 12.14 MB / 442.7 MB 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.005371/0.4741, allocations: 2.23 MB / 0.5647 GB, free: 9.867 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.4741, allocations: 8.031 kB / 0.5647 GB, free: 9.859 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/0.4761, allocations: 0.5214 MB / 0.5653 GB, free: 9.336 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001887/0.478, allocations: 0.8109 MB / 0.566 GB, free: 8.492 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.4781, allocations: 110.7 kB / 0.5661 GB, free: 8.383 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002887/0.4784, allocations: 167.9 kB / 0.5663 GB, free: 8.219 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003896/0.4823, allocations: 2.596 MB / 0.5688 GB, free: 5.293 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.516e-05/0.4823, allocations: 0 / 0.5688 GB, free: 5.293 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001811/0.4825, allocations: 64 kB / 0.5689 GB, free: 5.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.694e-05/0.4825, allocations: 35.94 kB / 0.5689 GB, free: 5.195 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00228/0.4848, allocations: 0.9174 MB / 0.5698 GB, free: 4.277 MB / 442.7 MB 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.01101/0.4958, allocations: 4.049 MB / 0.5738 GB, free: 188 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002925/0.4987, allocations: 0.8381 MB / 0.5746 GB, free: 15.32 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007187/0.4994, allocations: 280.2 kB / 0.5749 GB, free: 15.04 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.786e-05/0.4995, allocations: 23.97 kB / 0.5749 GB, free: 15.02 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.761e-05/0.4996, allocations: 53.39 kB / 0.5749 GB, free: 14.95 MB / 458.7 MB Notification: Performance of pre-optimization done (n=62): time 2.855e-06/0.4996, allocations: 0 / 0.5749 GB, free: 14.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=62): time 0.007339/0.5069, allocations: 1.714 MB / 0.5766 GB, free: 13.22 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/0.507, allocations: 85.11 kB / 0.5767 GB, free: 13.12 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001543/0.5085, allocations: 0.9054 MB / 0.5776 GB, free: 12.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001731/0.5087, allocations: 45.7 kB / 0.5776 GB, free: 12.15 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00068/0.5094, allocations: 0.7525 MB / 0.5784 GB, free: 11.39 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00026/0.5097, allocations: 238 kB / 0.5786 GB, free: 11.16 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003891/0.51, allocations: 204.2 kB / 0.5788 GB, free: 10.95 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004037/0.5105, allocations: 0.6132 MB / 0.5794 GB, free: 10.32 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009208/0.5114, allocations: 339.5 kB / 0.5797 GB, free: 9.984 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.5125, allocations: 0.5323 MB / 0.5802 GB, free: 9.375 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/0.5143, allocations: 0.8182 MB / 0.581 GB, free: 8.484 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.5143, allocations: 0 / 0.581 GB, free: 8.484 MB / 458.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003151/0.5175, allocations: 1.172 MB / 0.5822 GB, free: 7.293 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.5175, allocations: 8.094 kB / 0.5822 GB, free: 7.285 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.5175, allocations: 6.688 kB / 0.5822 GB, free: 7.281 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006727/0.5242, allocations: 0.9476 MB / 0.5831 GB, free: 6.324 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.5255, allocations: 239.6 kB / 0.5833 GB, free: 6.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005544/0.531, allocations: 5.693 MB / 0.5889 GB, free: 224 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.5324, allocations: 123.4 kB / 0.589 GB, free: 100 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001859/0.5326, allocations: 51.97 kB / 0.5891 GB, free: 48 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00133/0.5339, allocations: 0.489 MB / 0.5895 GB, free: 15.55 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001211/0.5351, allocations: 0.5497 MB / 0.5901 GB, free: 14.91 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001829/0.537, allocations: 0.7957 MB / 0.5909 GB, free: 14.03 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.396e-06/0.537, allocations: 0 / 0.5909 GB, free: 14.03 MB / 474.7 MB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.003368/0.5403, allocations: 1.062 MB / 0.5919 GB, free: 12.95 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.5404, allocations: 8 kB / 0.5919 GB, free: 12.94 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.5404, allocations: 4 kB / 0.5919 GB, free: 12.94 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006437/0.541, allocations: 131.4 kB / 0.592 GB, free: 12.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.5424, allocations: 275.6 kB / 0.5923 GB, free: 12.53 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007379/0.5498, allocations: 7.937 MB / 0.6 GB, free: 4.238 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.5513, allocations: 111.5 kB / 0.6002 GB, free: 4.129 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002093/0.5515, allocations: 47.97 kB / 0.6002 GB, free: 4.082 MB / 474.7 MB 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.0005635/0.5521, allocations: 324 kB / 0.6005 GB, free: 3.758 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004725/0.5525, allocations: 123.4 kB / 0.6006 GB, free: 3.637 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002885/0.5554, allocations: 0.9292 MB / 0.6015 GB, free: 2.688 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.5554, allocations: 8 kB / 0.6015 GB, free: 2.68 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.5554, allocations: 0 / 0.6015 GB, free: 2.68 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/0.5555, allocations: 11.98 kB / 0.6016 GB, free: 2.668 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005837/0.5613, allocations: 2.234 MB / 0.6037 GB, free: 368 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.5613, allocations: 8.172 kB / 0.6037 GB, free: 360 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005465/0.5619, allocations: 111.9 kB / 0.6038 GB, free: 248 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1571/0.7189, allocations: 0.7666 MB / 0.6046 GB, free: 198.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001399/0.719, allocations: 20.5 kB / 0.6046 GB, free: 198.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002803/0.7218, allocations: 5.694 MB / 0.6102 GB, free: 193.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.7219, allocations: 6.266 kB / 0.6102 GB, free: 193.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00269/0.7245, allocations: 1.243 MB / 0.6114 GB, free: 193.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003509/0.7249, allocations: 117.2 kB / 0.6115 GB, free: 193.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001977/0.7251, allocations: 20.78 kB / 0.6115 GB, free: 193.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.7264, allocations: 79.28 kB / 0.6116 GB, free: 193.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.7265, allocations: 50.64 kB / 0.6117 GB, free: 193.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002229/0.7268, allocations: 65.19 kB / 0.6117 GB, free: 193.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007636/0.7275, allocations: 0.5508 MB / 0.6123 GB, free: 193.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.7275, allocations: 0 / 0.6123 GB, free: 193.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002744/0.7303, allocations: 0.9537 MB / 0.6132 GB, free: 193.1 MB / 474.7 MB 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.001366/0.7316, allocations: 481.2 kB / 0.6136 GB, free: 193 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004448/0.7361, allocations: 1.705 MB / 0.6153 GB, free: 192.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/0.7361, allocations: 4.719 kB / 0.6153 GB, free: 192.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.7372, allocations: 418.6 kB / 0.6157 GB, free: 192.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002607/0.7398, allocations: 478.1 kB / 0.6162 GB, free: 192.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00345/0.7432, allocations: 2.141 MB / 0.6183 GB, free: 191.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006081/0.7438, allocations: 0.596 MB / 0.6188 GB, free: 191.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001014/0.7448, allocations: 192.4 kB / 0.619 GB, free: 191.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/0.745, allocations: 71.31 kB / 0.6191 GB, free: 191.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.583e-06/0.745, allocations: 0.7812 kB / 0.6191 GB, free: 191.2 MB / 474.7 MB Notification: Performance of Templates: time 0.03681/0.7818, allocations: 29.3 MB / 0.6477 GB, free: 163.5 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.makefile [Timeout 660] (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=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.770781348925084]