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.001479/0.001479, allocations: 112.4 kB / 17.06 MB, free: 6 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.001673/0.001673, allocations: 200 kB / 18 MB, free: 5.078 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.576/1.576, allocations: 205.1 MB / 223.9 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2809/0.2809, allocations: 48.84 MB / 320.1 MB, free: 11.02 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.001546/0.001546, allocations: 63.91 kB / 450.5 MB, free: 8.566 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1092, allocations: 59.17 MB / 0.4977 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasMixer): time 0.405/0.5143, allocations: 198 MB / 0.6911 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004222/0.5185, allocations: 2.221 MB / 0.6933 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000473/0.5191, allocations: 11.94 kB / 0.6933 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.5202, allocations: 493 kB / 0.6938 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.5216, allocations: 0.6681 MB / 0.6944 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002775/0.5244, allocations: 1.173 MB / 0.6956 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002287/0.5267, allocations: 2.128 MB / 0.6977 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009553/0.5276, allocations: 0.7129 MB / 0.6984 GB, free: 12.69 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.5287, allocations: 0.7942 MB / 0.6991 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008443/0.5295, allocations: 0.7202 MB / 0.6998 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.5297, allocations: 100 kB / 0.6999 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/0.5312, allocations: 0.8029 MB / 0.7007 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003746/0.5316, allocations: 470.8 kB / 0.7012 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005664/0.5322, allocations: 0.6147 MB / 0.7018 GB, free: 9.188 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.5339, allocations: 1.674 MB / 0.7034 GB, free: 7.512 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.5339, allocations: 3.984 kB / 0.7034 GB, free: 7.508 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/0.534, allocations: 4 kB / 0.7034 GB, free: 7.504 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.701e-05/0.534, allocations: 0 / 0.7034 GB, free: 7.504 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.002559/0.5365, allocations: 1.337 MB / 0.7047 GB, free: 6.113 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.5366, allocations: 19.89 kB / 0.7047 GB, free: 6.094 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008948/0.5375, allocations: 179.4 kB / 0.7049 GB, free: 5.918 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.5385, allocations: 0.578 MB / 0.7055 GB, free: 5.297 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.516e-05/0.5386, allocations: 58 kB / 0.7055 GB, free: 5.242 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.5387, allocations: 84 kB / 0.7056 GB, free: 5.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/0.5405, allocations: 1.06 MB / 0.7066 GB, free: 4.082 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.5406, allocations: 0 / 0.7066 GB, free: 4.082 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.495e-05/0.5407, allocations: 43.98 kB / 0.7067 GB, free: 4.039 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.5407, allocations: 16 kB / 0.7067 GB, free: 4.023 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/0.5425, allocations: 0.8871 MB / 0.7076 GB, free: 3.141 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.005831/0.5483, allocations: 3.905 MB / 0.7114 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/0.55, allocations: 0.8107 MB / 0.7122 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000658/0.5507, allocations: 334.4 kB / 0.7125 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.159e-05/0.5507, allocations: 32.47 kB / 0.7125 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.5508, allocations: 43.12 kB / 0.7126 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 2.214e-06/0.5508, allocations: 0 / 0.7126 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67): time 0.01017/0.561, allocations: 3.208 MB / 0.7157 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.5611, allocations: 107.4 kB / 0.7158 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006919/0.5617, allocations: 0.6486 MB / 0.7164 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.974e-05/0.5618, allocations: 41.7 kB / 0.7165 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.5621, allocations: 380 kB / 0.7168 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.5623, allocations: 232.6 kB / 0.717 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002417/0.5625, allocations: 146.6 kB / 0.7172 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.5627, allocations: 378.8 kB / 0.7175 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007666/0.5635, allocations: 368.6 kB / 0.7179 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008347/0.5643, allocations: 468.1 kB / 0.7183 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/0.5658, allocations: 0.7867 MB / 0.7191 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.5658, allocations: 0 / 0.7191 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003002/0.5688, allocations: 1.319 MB / 0.7204 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.5689, allocations: 15.78 kB / 0.7204 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.5689, allocations: 4 kB / 0.7204 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004933/0.5738, allocations: 0.9762 MB / 0.7214 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004949/0.5743, allocations: 107.8 kB / 0.7215 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002407/0.5768, allocations: 1.429 MB / 0.7229 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006606/0.5774, allocations: 52.81 kB / 0.7229 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-05/0.5775, allocations: 35.98 kB / 0.723 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009107/0.5784, allocations: 0.5059 MB / 0.7234 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007664/0.5792, allocations: 462.4 kB / 0.7239 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001307/0.5805, allocations: 0.7459 MB / 0.7246 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.012e-06/0.5806, allocations: 7.938 kB / 0.7246 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002597/0.5832, allocations: 1.149 MB / 0.7257 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.5832, allocations: 11.94 kB / 0.7258 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.5832, allocations: 0 / 0.7258 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001622/0.5848, allocations: 448.6 kB / 0.7262 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007147/0.5856, allocations: 163.8 kB / 0.7263 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/0.5875, allocations: 2.193 MB / 0.7285 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000677/0.5882, allocations: 52.14 kB / 0.7285 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.326e-05/0.5883, allocations: 35.98 kB / 0.7286 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.0003078/0.5886, allocations: 224 kB / 0.7288 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.5887, allocations: 83.06 kB / 0.7289 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002379/0.5911, allocations: 1.033 MB / 0.7299 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.5912, allocations: 8 kB / 0.7299 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.5912, allocations: 7.875 kB / 0.7299 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.5912, allocations: 3.984 kB / 0.7299 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003699/0.5949, allocations: 2.057 MB / 0.7319 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.5949, allocations: 8.031 kB / 0.7319 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008912/0.5958, allocations: 163.8 kB / 0.7321 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002426/0.5982, allocations: 425.2 kB / 0.7325 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-05/0.5983, allocations: 19.98 kB / 0.7325 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002323/0.6006, allocations: 2.868 MB / 0.7353 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.6007, allocations: 0 / 0.7353 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002786/0.6035, allocations: 1.463 MB / 0.7367 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002222/0.6037, allocations: 160.3 kB / 0.7369 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.6038, allocations: 16 kB / 0.7369 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007891/0.6046, allocations: 68.16 kB / 0.7369 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.6048, allocations: 60.47 kB / 0.737 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.903e-05/0.6049, allocations: 43.95 kB / 0.737 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005179/0.6054, allocations: 471 kB / 0.7375 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.613e-06/0.6054, allocations: 0 / 0.7375 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001314/0.6067, allocations: 0.5232 MB / 0.738 GB, free: 2.715 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.0009461/0.6077, allocations: 391.5 kB / 0.7384 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003802/0.6115, allocations: 1.518 MB / 0.7399 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.6115, allocations: 4.656 kB / 0.7399 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.6127, allocations: 0.5995 MB / 0.7405 GB, free: 200 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002272/0.615, allocations: 491.2 kB / 0.7409 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/0.6178, allocations: 1.806 MB / 0.7427 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005591/0.6184, allocations: 0.9949 MB / 0.7437 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006757/0.6191, allocations: 182.1 kB / 0.7438 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.6193, allocations: 67.42 kB / 0.7439 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of SimCode: time 4.8e-07/0.6193, allocations: 0 / 0.7439 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.2497/0.869, allocations: 29.33 MB / 0.7725 GB, free: 214.6 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)