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.0009848/0.0009848, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001545/0.001545, allocations: 168.2 kB / 24.91 MB, free: 8.688 MB / 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 0.8346/0.8346, allocations: 158.6 MB / 186.8 MB, free: 2.77 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.189/0.189, allocations: 36.34 MB / 275.4 MB, free: 10.54 MB / 266.7 MB " [Timeout remaining time 180] 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.724e-06/1.724e-06, allocations: 0 / 305.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.425e-05, allocations: 2.312 kB / 305.2 MB, free: 14.06 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValveOpPoint): time 0.1416/0.1416, allocations: 148.9 MB / 454.1 MB, free: 14.69 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004153/0.1458, allocations: 2.23 MB / 456.3 MB, free: 12.46 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008422/0.1466, allocations: 27.75 kB / 456.3 MB, free: 12.43 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008335/0.1474, allocations: 257.9 kB / 456.6 MB, free: 12.18 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001635/0.1491, allocations: 0.9004 MB / 457.5 MB, free: 11.27 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0023/0.1514, allocations: 1.173 MB / 458.6 MB, free: 10.09 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003275/0.1547, allocations: 2.945 MB / 461.6 MB, free: 7.141 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001129/0.1558, allocations: 0.8778 MB / 462.5 MB, free: 6.246 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001842/0.1576, allocations: 1.477 MB / 463.9 MB, free: 4.766 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.1587, allocations: 0.8569 MB / 464.8 MB, free: 3.906 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002502/0.1589, allocations: 148 kB / 464.9 MB, free: 3.762 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009706/0.1599, allocations: 451 kB / 465.4 MB, free: 3.32 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000557/0.1605, allocations: 0.8535 MB / 466.2 MB, free: 2.465 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.1615, allocations: 0.7993 MB / 467 MB, free: 1.664 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.187/0.3485, allocations: 1.983 MB / 469 MB, free: 11.35 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3485, allocations: 0.7188 kB / 469 MB, free: 11.35 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3485, allocations: 0 / 469 MB, free: 11.35 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.054e-05/0.3486, allocations: 1.469 kB / 469 MB, free: 11.35 MB / 426.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.003306/0.3519, allocations: 1.922 MB / 470.9 MB, free: 10.63 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3519, allocations: 10.62 kB / 471 MB, free: 10.63 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/0.3532, allocations: 480.8 kB / 471.4 MB, free: 10.58 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.3544, allocations: 0.6705 MB / 472.1 MB, free: 10.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.027e-05/0.3544, allocations: 108.1 kB / 472.2 MB, free: 10.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002356/0.3547, allocations: 160.2 kB / 472.4 MB, free: 10.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/0.3567, allocations: 2.312 MB / 474.7 MB, free: 8.672 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.216e-05/0.3567, allocations: 1.031 kB / 474.7 MB, free: 8.672 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/0.3568, allocations: 68.78 kB / 474.7 MB, free: 8.668 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.321e-05/0.3569, allocations: 32.56 kB / 474.8 MB, free: 8.668 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00086/0.3577, allocations: 438.7 kB / 475.2 MB, free: 8.633 MB / 426.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.005621/0.3634, allocations: 2.72 MB / 477.9 MB, free: 8.082 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.3645, allocations: 0.6313 MB / 478.5 MB, free: 7.949 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.3647, allocations: 116.4 kB / 478.7 MB, free: 7.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.189e-05/0.3647, allocations: 20.8 kB / 478.7 MB, free: 7.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.3648, allocations: 55.31 kB / 478.7 MB, free: 7.891 MB / 426.7 MB Notification: Performance of pre-optimization done (n=62): time 3.436e-06/0.3648, allocations: 0.625 kB / 478.7 MB, free: 7.891 MB / 426.7 MB Notification: Performance of matching and sorting (n=62): time 0.00297/0.3677, allocations: 1.116 MB / 479.9 MB, free: 7.828 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.3678, allocations: 85.86 kB / 479.9 MB, free: 7.734 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005637/0.3683, allocations: 0.6465 MB / 480.6 MB, free: 7.582 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001278/0.3685, allocations: 52.45 kB / 480.6 MB, free: 7.551 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/0.3687, allocations: 0.5784 MB / 481.2 MB, free: 7.195 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.3688, allocations: 222.5 kB / 481.4 MB, free: 7.055 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002044/0.369, allocations: 180.1 kB / 481.6 MB, free: 7.031 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.706e-05/0.3691, allocations: 405 kB / 482 MB, free: 6.715 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/0.3694, allocations: 122.6 kB / 482.1 MB, free: 6.699 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.3696, allocations: 268.8 kB / 482.4 MB, free: 6.547 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004014/0.37, allocations: 444.8 kB / 482.8 MB, free: 6.352 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.37, allocations: 4.531 kB / 482.8 MB, free: 6.352 MB / 426.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.0008187/0.3708, allocations: 0.569 MB / 483.4 MB, free: 6.246 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.3709, allocations: 7.969 kB / 483.4 MB, free: 6.246 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.3709, allocations: 7.031 kB / 483.4 MB, free: 6.246 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002326/0.3732, allocations: 0.7762 MB / 484.2 MB, free: 6.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/0.3737, allocations: 200.2 kB / 484.4 MB, free: 6.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.3752, allocations: 3.582 MB / 488 MB, free: 18.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006685/0.3759, allocations: 115.8 kB / 488.1 MB, free: 18.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.388e-05/0.376, allocations: 36.3 kB / 488.1 MB, free: 18.79 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004495/0.3764, allocations: 199.2 kB / 488.3 MB, free: 18.69 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002104/0.3766, allocations: 279.6 kB / 488.6 MB, free: 18.51 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003707/0.377, allocations: 457.5 kB / 489 MB, free: 18.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.306e-06/0.377, allocations: 0 / 489 MB, free: 18.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.0007648/0.3778, allocations: 0.5626 MB / 489.6 MB, free: 18.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.3778, allocations: 7.812 kB / 489.6 MB, free: 18.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3778, allocations: 6.406 kB / 489.6 MB, free: 18.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000243/0.378, allocations: 105 kB / 489.7 MB, free: 18.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005759/0.3786, allocations: 249.7 kB / 489.9 MB, free: 18.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002477/0.3811, allocations: 5.148 MB / 495.1 MB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006508/0.3817, allocations: 94.23 kB / 495.2 MB, free: 13.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.158e-05/0.3818, allocations: 43.28 kB / 495.2 MB, free: 13.23 MB / 442.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.0003404/0.3821, allocations: 228.5 kB / 495.5 MB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.3823, allocations: 93.33 kB / 495.5 MB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006997/0.383, allocations: 495.9 kB / 496 MB, free: 12.97 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.383, allocations: 8.594 kB / 496 MB, free: 12.97 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.383, allocations: 3.938 kB / 496 MB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.383, allocations: 6.344 kB / 496 MB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.3847, allocations: 1.256 MB / 497.3 MB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.3847, allocations: 7.438 kB / 497.3 MB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/0.3849, allocations: 95.05 kB / 497.4 MB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001864/0.3868, allocations: 0.6236 MB / 498 MB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.111e-05/0.3868, allocations: 19.81 kB / 498 MB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001363/0.3882, allocations: 3.583 MB / 0.4899 GB, free: 9.109 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3882, allocations: 8.359 kB / 0.4899 GB, free: 9.105 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008859/0.3891, allocations: 0.7426 MB / 0.4906 GB, free: 8.727 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.3892, allocations: 93.48 kB / 0.4907 GB, free: 8.672 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.322e-05/0.3893, allocations: 18.91 kB / 0.4907 GB, free: 8.672 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005426/0.3898, allocations: 70.39 kB / 0.4908 GB, free: 8.672 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.635e-05/0.3899, allocations: 58.62 kB / 0.4908 GB, free: 8.668 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.782e-05/0.39, allocations: 50.58 kB / 0.4909 GB, free: 8.668 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002291/0.3902, allocations: 310 kB / 0.4912 GB, free: 8.641 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3902, allocations: 1 kB / 0.4912 GB, free: 8.641 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001514/0.3917, allocations: 0.9085 MB / 0.4921 GB, free: 8.473 MB / 442.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.00046/0.3922, allocations: 226.3 kB / 0.4923 GB, free: 8.391 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001522/0.3937, allocations: 0.9564 MB / 0.4932 GB, free: 8.133 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-05/0.3937, allocations: 14 kB / 0.4932 GB, free: 8.133 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003359/0.3941, allocations: 232.8 kB / 0.4935 GB, free: 8.113 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.3953, allocations: 468.8 kB / 0.4939 GB, free: 8.066 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/0.398, allocations: 2.046 MB / 0.4959 GB, free: 7.062 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.3982, allocations: 286.9 kB / 0.4962 GB, free: 6.98 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007025/0.3989, allocations: 183.6 kB / 0.4963 GB, free: 6.926 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/0.3999, allocations: 0.4954 MB / 0.4968 GB, free: 6.871 MB / 442.7 MB Notification: Performance of SimCode: time 1.533e-06/0.3999, allocations: 0.5625 kB / 0.4968 GB, free: 6.871 MB / 442.7 MB Notification: Performance of Templates: time 0.03313/0.4331, allocations: 28.94 MB / 0.5251 GB, free: 13 MB / 458.7 MB " [Timeout remaining time 660] 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: 4.112705136183649]