Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.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.TestGasMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer") translateModel(ThermoPower.Test.GasComponents.TestGasMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001418, allocations: 111.8 kB / 17.74 MB, free: 5.34 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.001461/0.001461, allocations: 193.6 kB / 18.68 MB, free: 4.41 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.606/1.606, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2997/0.2997, 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.001473/0.001473, allocations: 68.36 kB / 451.2 MB, free: 8.57 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1255, allocations: 59.16 MB / 0.4984 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasMixer): time 0.5373/0.6628, allocations: 198 MB / 0.6918 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005031/0.6679, allocations: 2.221 MB / 0.694 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000998/0.669, allocations: 15.94 kB / 0.694 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.6708, allocations: 485 kB / 0.6944 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002068/0.6729, allocations: 0.672 MB / 0.6951 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003651/0.6765, allocations: 1.162 MB / 0.6962 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003377/0.6799, allocations: 2.127 MB / 0.6983 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001508/0.6815, allocations: 0.709 MB / 0.699 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001832/0.6833, allocations: 0.802 MB / 0.6998 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/0.6847, allocations: 0.7162 MB / 0.7005 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003521/0.6851, allocations: 104 kB / 0.7006 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002346/0.6874, allocations: 0.8029 MB / 0.7014 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007049/0.6882, allocations: 474.8 kB / 0.7018 GB, free: 9.801 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001439/0.6896, allocations: 0.6109 MB / 0.7024 GB, free: 9.188 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003182/0.6928, allocations: 1.682 MB / 0.7041 GB, free: 7.504 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.6928, allocations: 0 / 0.7041 GB, free: 7.504 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.874e-06/0.6928, allocations: 7.875 kB / 0.7041 GB, free: 7.496 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.561e-05/0.6929, allocations: 0 / 0.7041 GB, free: 7.496 MB / 0.545 GB 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.003686/0.6966, allocations: 1.334 MB / 0.7054 GB, free: 6.109 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.6967, allocations: 15.83 kB / 0.7054 GB, free: 6.094 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.6978, allocations: 182.7 kB / 0.7056 GB, free: 5.914 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.699, allocations: 0.5702 MB / 0.7061 GB, free: 5.301 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.035e-05/0.6991, allocations: 62 kB / 0.7062 GB, free: 5.242 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/0.6993, allocations: 79.94 kB / 0.7063 GB, free: 5.164 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002285/0.7016, allocations: 1.068 MB / 0.7073 GB, free: 4.078 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.7016, allocations: 0 / 0.7073 GB, free: 4.078 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.7017, allocations: 32 kB / 0.7073 GB, free: 4.047 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.7018, allocations: 20 kB / 0.7073 GB, free: 4.027 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/0.7037, allocations: 0.8861 MB / 0.7082 GB, free: 3.145 MB / 0.545 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.006799/0.7105, allocations: 3.909 MB / 0.712 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.7123, allocations: 0.8146 MB / 0.7128 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006981/0.713, allocations: 344.8 kB / 0.7131 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.318e-05/0.7131, allocations: 16.53 kB / 0.7132 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.849e-05/0.7132, allocations: 47.12 kB / 0.7132 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 4.748e-06/0.7132, allocations: 0 / 0.7132 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67): time 0.01114/0.7243, allocations: 3.213 MB / 0.7163 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/0.7244, allocations: 111.4 kB / 0.7165 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009059/0.7254, allocations: 0.6525 MB / 0.7171 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001371/0.7255, allocations: 37.7 kB / 0.7171 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003144/0.7258, allocations: 376 kB / 0.7175 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/0.7261, allocations: 236.6 kB / 0.7177 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002548/0.7263, allocations: 142.7 kB / 0.7178 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001869/0.7265, allocations: 386.8 kB / 0.7182 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007921/0.7273, allocations: 364.6 kB / 0.7186 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008564/0.7282, allocations: 476.1 kB / 0.719 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.7298, allocations: 0.775 MB / 0.7198 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.7298, allocations: 4 kB / 0.7198 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003176/0.733, allocations: 1.317 MB / 0.7211 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.733, allocations: 7.938 kB / 0.7211 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.733, allocations: 4 kB / 0.7211 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005002/0.738, allocations: 0.9825 MB / 0.722 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005447/0.7386, allocations: 107.9 kB / 0.7221 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00258/0.7412, allocations: 1.421 MB / 0.7235 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007983/0.742, allocations: 51.94 kB / 0.7236 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.7422, allocations: 35.98 kB / 0.7236 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000988/0.7431, allocations: 0.502 MB / 0.7241 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007848/0.7439, allocations: 462.4 kB / 0.7245 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001373/0.7453, allocations: 0.7487 MB / 0.7253 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.699e-05/0.7454, allocations: 3.938 kB / 0.7253 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.00277/0.7481, allocations: 1.15 MB / 0.7264 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.7482, allocations: 15.97 kB / 0.7264 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.7482, allocations: 4 kB / 0.7264 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001657/0.7498, allocations: 449.2 kB / 0.7268 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007203/0.7506, allocations: 163.8 kB / 0.727 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.7526, allocations: 2.193 MB / 0.7291 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007618/0.7534, allocations: 47.95 kB / 0.7292 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.132e-05/0.7535, allocations: 35.98 kB / 0.7292 GB, free: 12.75 MB / 0.5762 GB 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.0003496/0.7539, allocations: 224.3 kB / 0.7294 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002923/0.7542, allocations: 87 kB / 0.7295 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002466/0.7566, allocations: 1.025 MB / 0.7305 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.7567, allocations: 12 kB / 0.7305 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/0.7567, allocations: 3.938 kB / 0.7305 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.7567, allocations: 3.984 kB / 0.7305 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003843/0.7605, allocations: 2.06 MB / 0.7326 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.7606, allocations: 0 / 0.7326 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009167/0.7615, allocations: 171.9 kB / 0.7327 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002462/0.764, allocations: 425.2 kB / 0.7331 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.931e-05/0.7641, allocations: 23.98 kB / 0.7331 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002686/0.7668, allocations: 2.872 MB / 0.736 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7668, allocations: 0 / 0.736 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003154/0.7699, allocations: 1.459 MB / 0.7374 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000326/0.7703, allocations: 156.1 kB / 0.7375 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/0.7705, allocations: 23.98 kB / 0.7375 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009215/0.7714, allocations: 55.88 kB / 0.7376 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.7716, allocations: 56.48 kB / 0.7377 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/0.7717, allocations: 51.95 kB / 0.7377 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006401/0.7724, allocations: 467 kB / 0.7381 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.01e-07/0.7724, allocations: 0 / 0.7381 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001644/0.774, allocations: 0.5194 MB / 0.7387 GB, free: 2.727 MB / 0.5762 GB 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.001177/0.7752, allocations: 415.6 kB / 0.7391 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004054/0.7793, allocations: 1.514 MB / 0.7405 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.7793, allocations: 0.6562 kB / 0.7405 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001262/0.7806, allocations: 0.5995 MB / 0.7411 GB, free: 196 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/0.7831, allocations: 491.2 kB / 0.7416 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003411/0.7865, allocations: 1.847 MB / 0.7434 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006916/0.7872, allocations: 1.003 MB / 0.7444 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/0.7875, allocations: 71.42 kB / 0.7444 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of SimCode: time 9.82e-07/0.7875, allocations: 0 / 0.7444 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of Templates: time 0.2859/1.073, allocations: 22.41 MB / 0.7663 GB, free: 216.7 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.pipe 2>&1)