Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasMixer.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.0009165/0.0009165, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001033/0.001033, allocations: 172.1 kB / 24.92 MB, free: 8.73 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.038/1.038, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1039/0.1039, allocations: 19.74 MB / 281.6 MB, free: 9.16 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.TestGasMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasMixer") translateModel(ThermoPower.Test.GasComponents.TestGasMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasMixer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 1.594 kB / 305.2 MB, free: 13.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.55e-05/1.741e-05, allocations: 3.812 kB / 305.2 MB, free: 13.1 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasMixer): time 0.3146/0.3147, allocations: 149.2 MB / 454.4 MB, free: 9.688 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003064/0.3177, allocations: 1.679 MB / 456.1 MB, free: 9.648 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003656/0.3181, allocations: 18.34 kB / 456.1 MB, free: 9.648 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005777/0.3187, allocations: 196 kB / 456.3 MB, free: 9.648 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.3197, allocations: 0.6978 MB / 457 MB, free: 9.613 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001547/0.3213, allocations: 0.9069 MB / 457.9 MB, free: 9.594 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002609/0.3239, allocations: 2.105 MB / 460 MB, free: 9.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008513/0.3247, allocations: 0.6086 MB / 460.6 MB, free: 9.543 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001604/0.3263, allocations: 1.022 MB / 461.7 MB, free: 9.531 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.3275, allocations: 0.6238 MB / 462.3 MB, free: 9.469 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003016/0.3278, allocations: 102.1 kB / 462.4 MB, free: 9.469 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009926/0.3288, allocations: 338.2 kB / 462.7 MB, free: 9.449 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003363/0.3291, allocations: 499.4 kB / 463.2 MB, free: 9.406 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000593/0.3297, allocations: 475.1 kB / 463.7 MB, free: 9.367 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.331, allocations: 1.184 MB / 464.8 MB, free: 9.234 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.331, allocations: 0 / 464.8 MB, free: 9.234 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.331, allocations: 0.9688 kB / 464.9 MB, free: 9.234 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.933e-05/0.331, allocations: 0 / 464.9 MB, free: 9.234 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.001543/0.3326, allocations: 1.186 MB / 466 MB, free: 8.676 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.3326, allocations: 9.469 kB / 466 MB, free: 8.676 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007611/0.3334, allocations: 278.4 kB / 466.3 MB, free: 8.637 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006102/0.334, allocations: 443.5 kB / 466.8 MB, free: 8.418 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.39e-05/0.334, allocations: 62.28 kB / 466.8 MB, free: 8.418 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.3341, allocations: 95.34 kB / 466.9 MB, free: 8.414 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007893/0.3349, allocations: 1.331 MB / 468.2 MB, free: 7.496 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.3349, allocations: 8.281 kB / 468.2 MB, free: 7.492 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.116e-05/0.335, allocations: 41.03 kB / 468.3 MB, free: 7.492 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.335, allocations: 17.94 kB / 468.3 MB, free: 7.492 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003795/0.3354, allocations: 274.2 kB / 468.6 MB, free: 7.469 MB / 410.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.002415/0.3378, allocations: 1.577 MB / 470.1 MB, free: 7.141 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005192/0.3383, allocations: 407.1 kB / 470.5 MB, free: 7.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.3384, allocations: 119.8 kB / 470.7 MB, free: 7.059 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.651e-05/0.3385, allocations: 16.36 kB / 470.7 MB, free: 7.059 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.3385, allocations: 46.12 kB / 470.7 MB, free: 7.016 MB / 410.7 MB Notification: Performance of pre-optimization done (n=61): time 1.954e-06/0.3385, allocations: 0 / 470.7 MB, free: 7.016 MB / 410.7 MB Notification: Performance of matching and sorting (n=67): time 0.00383/0.3423, allocations: 1.824 MB / 472.5 MB, free: 6.512 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.3424, allocations: 116.3 kB / 472.7 MB, free: 6.387 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.3426, allocations: 392.5 kB / 473 MB, free: 6.258 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.404e-05/0.3427, allocations: 40.33 kB / 473.1 MB, free: 6.227 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.3428, allocations: 346.9 kB / 473.4 MB, free: 6.004 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.3429, allocations: 244.5 kB / 473.7 MB, free: 5.848 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.3431, allocations: 138.9 kB / 473.8 MB, free: 5.828 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.938e-05/0.3432, allocations: 379.7 kB / 474.2 MB, free: 5.512 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.3433, allocations: 113.9 kB / 474.3 MB, free: 5.496 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.3435, allocations: 265.4 kB / 474.5 MB, free: 5.336 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003434/0.3439, allocations: 370.6 kB / 474.9 MB, free: 5.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.3439, allocations: 0 / 474.9 MB, free: 5.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009531/0.3448, allocations: 0.6466 MB / 475.5 MB, free: 5.141 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3448, allocations: 6.656 kB / 475.6 MB, free: 5.141 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3448, allocations: 3.781 kB / 475.6 MB, free: 5.141 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002004/0.3469, allocations: 0.8167 MB / 476.4 MB, free: 5.105 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.3471, allocations: 111.8 kB / 476.5 MB, free: 5.105 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007863/0.3479, allocations: 0.9006 MB / 477.4 MB, free: 4.562 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/0.3482, allocations: 30.27 kB / 477.4 MB, free: 4.562 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/0.3483, allocations: 26.14 kB / 477.4 MB, free: 4.562 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002528/0.3485, allocations: 195.6 kB / 477.6 MB, free: 4.469 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001706/0.3487, allocations: 264.9 kB / 477.9 MB, free: 4.289 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003208/0.349, allocations: 374.2 kB / 478.3 MB, free: 4.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.535e-06/0.349, allocations: 0 / 478.3 MB, free: 4.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.0008002/0.3498, allocations: 0.5596 MB / 478.8 MB, free: 4.078 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.3498, allocations: 7.531 kB / 478.8 MB, free: 4.078 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3498, allocations: 2.75 kB / 478.8 MB, free: 4.078 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000712/0.3505, allocations: 344.6 kB / 479.2 MB, free: 4.062 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/0.3509, allocations: 175 kB / 479.3 MB, free: 4.055 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006256/0.3515, allocations: 1.898 MB / 481.2 MB, free: 2.348 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.3518, allocations: 31.34 kB / 481.3 MB, free: 2.348 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.722e-05/0.3518, allocations: 27.06 kB / 481.3 MB, free: 2.348 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(8,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0001866/0.352, allocations: 221.1 kB / 481.5 MB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-05/0.3521, allocations: 72.45 kB / 481.6 MB, free: 2.164 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006967/0.3528, allocations: 0.5048 MB / 482.1 MB, free: 2.074 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.3528, allocations: 7.906 kB / 482.1 MB, free: 2.074 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3528, allocations: 4.938 kB / 482.1 MB, free: 2.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.3528, allocations: 2.906 kB / 482.1 MB, free: 2.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.3541, allocations: 1.066 MB / 483.2 MB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3541, allocations: 4.156 kB / 483.2 MB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005154/0.3547, allocations: 192.4 kB / 483.3 MB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009943/0.3557, allocations: 365.3 kB / 483.7 MB, free: 1.723 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-05/0.3557, allocations: 24.88 kB / 483.7 MB, free: 1.719 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008961/0.3566, allocations: 2.416 MB / 486.1 MB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3566, allocations: 2.438 kB / 486.1 MB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008839/0.3575, allocations: 0.8123 MB / 487 MB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.775e-05/0.3575, allocations: 63.8 kB / 487 MB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.068e-05/0.3576, allocations: 23.03 kB / 487 MB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003184/0.3579, allocations: 41.55 kB / 487.1 MB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.519e-05/0.358, allocations: 64.42 kB / 487.1 MB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.217e-05/0.3581, allocations: 35.47 kB / 487.2 MB, free: 15.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001213/0.3582, allocations: 168.3 kB / 487.3 MB, free: 15.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3582, allocations: 0 / 487.3 MB, free: 15.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009067/0.3591, allocations: 497.2 kB / 487.8 MB, free: 15.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (Mixer1.gas.p,Mixer1.gas.Xi[1],Mixer1.gas.Xi[2],Mixer1.gas.T) * 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 (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004945/0.3596, allocations: 269.6 kB / 488.1 MB, free: 15 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001215/0.3608, allocations: 0.8079 MB / 488.9 MB, free: 14.92 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/0.3608, allocations: 6.125 kB / 488.9 MB, free: 14.92 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003892/0.3612, allocations: 379.8 kB / 489.3 MB, free: 14.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008826/0.3621, allocations: 385.7 kB / 489.7 MB, free: 14.74 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002988/0.3651, allocations: 1.768 MB / 491.4 MB, free: 14.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.3652, allocations: 198.3 kB / 491.6 MB, free: 13.94 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004316/0.3656, allocations: 130.9 kB / 491.7 MB, free: 13.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000723/0.3664, allocations: 364.6 kB / 492.1 MB, free: 13.83 MB / 426.7 MB Notification: Performance of SimCode: time 1.292e-06/0.3664, allocations: 3.031 kB / 492.1 MB, free: 13.83 MB / 426.7 MB Notification: Performance of Templates: time 0.02659/0.3929, allocations: 25.17 MB / 0.5052 GB, free: 4.246 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasMixer.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasMixer.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasMixer.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasMixer.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasMixer.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasMixer -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestGasMixer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9498033453710377]