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.001708/0.001708, allocations: 111.5 kB / 17.06 MB, free: 5.973 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.002123/0.002123, allocations: 200 kB / 18.01 MB, free: 5.055 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.36/1.36, allocations: 205.1 MB / 223.9 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2832/0.2832, allocations: 48.85 MB / 320.1 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.002548/0.002548, allocations: 71.88 kB / 450.5 MB, free: 8.559 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1296, allocations: 59.15 MB / 0.4977 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasMixer): time 0.3974/0.5271, allocations: 198.1 MB / 0.6911 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003803/0.5309, allocations: 2.221 MB / 0.6933 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000382/0.5314, allocations: 15.88 kB / 0.6933 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.5326, allocations: 497.1 kB / 0.6938 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.5337, allocations: 0.6837 MB / 0.6945 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00262/0.5363, allocations: 1.181 MB / 0.6956 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00208/0.5384, allocations: 2.135 MB / 0.6977 GB, free: 13.35 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.5395, allocations: 0.7051 MB / 0.6984 GB, free: 12.63 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/0.5408, allocations: 0.7982 MB / 0.6992 GB, free: 11.83 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.5419, allocations: 0.7123 MB / 0.6999 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002194/0.5421, allocations: 104 kB / 0.7 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.5437, allocations: 0.8068 MB / 0.7008 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004252/0.5441, allocations: 466.9 kB / 0.7012 GB, free: 9.746 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000648/0.5448, allocations: 0.607 MB / 0.7018 GB, free: 9.137 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001761/0.5465, allocations: 1.689 MB / 0.7034 GB, free: 7.445 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.5466, allocations: 4 kB / 0.7034 GB, free: 7.441 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5466, allocations: 3.938 kB / 0.7035 GB, free: 7.438 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.59e-05/0.5466, allocations: 0 / 0.7035 GB, free: 7.438 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.002294/0.5489, allocations: 1.334 MB / 0.7048 GB, free: 6.051 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.5489, allocations: 11.89 kB / 0.7048 GB, free: 6.039 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000884/0.5498, allocations: 178.7 kB / 0.7049 GB, free: 5.863 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008171/0.5506, allocations: 0.578 MB / 0.7055 GB, free: 5.242 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.681e-05/0.5507, allocations: 62 kB / 0.7056 GB, free: 5.184 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.5508, allocations: 80 kB / 0.7056 GB, free: 5.105 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/0.5527, allocations: 1.068 MB / 0.7067 GB, free: 4.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.5527, allocations: 0 / 0.7067 GB, free: 4.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-05/0.5528, allocations: 36 kB / 0.7067 GB, free: 3.984 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.5528, allocations: 20 kB / 0.7067 GB, free: 3.965 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.5546, allocations: 0.8938 MB / 0.7076 GB, free: 3.074 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.005664/0.5602, allocations: 3.905 MB / 0.7114 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.5619, allocations: 0.8002 MB / 0.7122 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006693/0.5626, allocations: 346.4 kB / 0.7125 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.044e-05/0.5626, allocations: 16.53 kB / 0.7125 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.5627, allocations: 47.12 kB / 0.7126 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 2.214e-06/0.5627, allocations: 0 / 0.7126 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67): time 0.009979/0.5727, allocations: 3.203 MB / 0.7157 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.181e-05/0.5728, allocations: 119.4 kB / 0.7158 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007576/0.5735, allocations: 0.6486 MB / 0.7165 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.035e-05/0.5736, allocations: 41.7 kB / 0.7165 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/0.5739, allocations: 376 kB / 0.7169 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.5741, allocations: 240.6 kB / 0.7171 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002425/0.5743, allocations: 138.7 kB / 0.7172 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.5745, allocations: 382.8 kB / 0.7176 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007712/0.5752, allocations: 368.6 kB / 0.7179 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008459/0.5761, allocations: 476.1 kB / 0.7184 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.5776, allocations: 0.775 MB / 0.7192 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.5776, allocations: 4 kB / 0.7192 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002957/0.5806, allocations: 1.317 MB / 0.7204 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.5806, allocations: 15.97 kB / 0.7205 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.5807, allocations: 4 kB / 0.7205 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004781/0.5855, allocations: 0.976 MB / 0.7214 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005008/0.586, allocations: 111.8 kB / 0.7215 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002447/0.5884, allocations: 1.425 MB / 0.7229 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006734/0.5891, allocations: 47.94 kB / 0.723 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.144e-05/0.5892, allocations: 35.98 kB / 0.723 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009644/0.5902, allocations: 0.5058 MB / 0.7235 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007739/0.591, allocations: 458.4 kB / 0.7239 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001346/0.5923, allocations: 0.7462 MB / 0.7247 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.039e-05/0.5923, allocations: 7.875 kB / 0.7247 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002613/0.595, allocations: 1.149 MB / 0.7258 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.595, allocations: 4 kB / 0.7258 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.595, allocations: 4 kB / 0.7258 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001629/0.5966, allocations: 455.6 kB / 0.7262 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006917/0.5973, allocations: 159.8 kB / 0.7264 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/0.5992, allocations: 2.193 MB / 0.7285 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006008/0.5998, allocations: 43.95 kB / 0.7286 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.355e-05/0.5999, allocations: 35.98 kB / 0.7286 GB, free: 12.71 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.0002679/0.6002, allocations: 224 kB / 0.7288 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/0.6003, allocations: 83.06 kB / 0.7289 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002371/0.6027, allocations: 1.033 MB / 0.7299 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.6027, allocations: 8 kB / 0.7299 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.6028, allocations: 3.938 kB / 0.7299 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.6028, allocations: 3.984 kB / 0.7299 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003444/0.6062, allocations: 2.072 MB / 0.7319 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.6062, allocations: 0 / 0.7319 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009116/0.6072, allocations: 163.8 kB / 0.7321 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002345/0.6095, allocations: 425.3 kB / 0.7325 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-05/0.6096, allocations: 23.98 kB / 0.7325 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002401/0.612, allocations: 2.872 MB / 0.7353 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.612, allocations: 5.219 kB / 0.7353 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002873/0.6149, allocations: 1.455 MB / 0.7368 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002043/0.6151, allocations: 152.1 kB / 0.7369 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.6152, allocations: 27.98 kB / 0.7369 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007546/0.616, allocations: 55.94 kB / 0.737 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.6162, allocations: 60.42 kB / 0.737 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-05/0.6163, allocations: 47.95 kB / 0.7371 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005338/0.6168, allocations: 467 kB / 0.7375 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6168, allocations: 0 / 0.7375 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001319/0.6181, allocations: 0.5194 MB / 0.738 GB, free: 2.676 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.001038/0.6192, allocations: 403.6 kB / 0.7384 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003858/0.623, allocations: 1.518 MB / 0.7399 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.6231, allocations: 0.6562 kB / 0.7399 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.6242, allocations: 0.5993 MB / 0.7405 GB, free: 152 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/0.6264, allocations: 0.4917 MB / 0.741 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/0.6293, allocations: 1.794 MB / 0.7427 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005571/0.6299, allocations: 0.9949 MB / 0.7437 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007092/0.6306, allocations: 186.1 kB / 0.7439 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.6308, allocations: 71.42 kB / 0.7439 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of SimCode: time 1.984e-06/0.6308, allocations: 0 / 0.7439 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of Templates: time 0.2679/0.8987, allocations: 28.77 MB / 0.772 GB, free: 215 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)