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.001279/0.001279, allocations: 110.6 kB / 17.75 MB, free: 5.215 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.001456/0.001456, allocations: 186.4 kB / 18.67 MB, free: 4.297 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.568/1.568, allocations: 205.1 MB / 224.6 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.2996/0.2996, allocations: 48.84 MB / 320.7 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.001447/0.001447, allocations: 71.89 kB / 451.2 MB, free: 8.574 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1403, allocations: 59.15 MB / 0.4984 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasMixer): time 0.5482/0.6886, allocations: 198 MB / 0.6918 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004083/0.6927, allocations: 2.221 MB / 0.694 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004678/0.6932, allocations: 15.88 kB / 0.694 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.6945, allocations: 0.4893 MB / 0.6945 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001282/0.6958, allocations: 0.6876 MB / 0.6951 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002943/0.6987, allocations: 1.177 MB / 0.6963 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002471/0.7012, allocations: 2.124 MB / 0.6984 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.7023, allocations: 0.7207 MB / 0.6991 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.7035, allocations: 0.7981 MB / 0.6998 GB, free: 11.86 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008439/0.7043, allocations: 0.7123 MB / 0.7005 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.7045, allocations: 104 kB / 0.7006 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/0.7062, allocations: 0.8068 MB / 0.7014 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003974/0.7066, allocations: 466.9 kB / 0.7019 GB, free: 9.773 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006393/0.7072, allocations: 0.6147 MB / 0.7025 GB, free: 9.156 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001986/0.7092, allocations: 1.674 MB / 0.7041 GB, free: 7.48 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.7092, allocations: 0 / 0.7041 GB, free: 7.48 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7092, allocations: 0 / 0.7041 GB, free: 7.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.717e-05/0.7093, allocations: 0 / 0.7041 GB, free: 7.48 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.002569/0.7118, allocations: 1.345 MB / 0.7054 GB, free: 6.082 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.7119, allocations: 15.89 kB / 0.7054 GB, free: 6.066 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008982/0.7128, allocations: 178.7 kB / 0.7056 GB, free: 5.891 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008345/0.7136, allocations: 0.5741 MB / 0.7062 GB, free: 5.273 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.231e-05/0.7137, allocations: 59.06 kB / 0.7062 GB, free: 5.219 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.7139, allocations: 87.98 kB / 0.7063 GB, free: 5.133 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/0.7158, allocations: 1.064 MB / 0.7073 GB, free: 4.051 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.7158, allocations: 0 / 0.7073 GB, free: 4.051 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.7159, allocations: 36 kB / 0.7074 GB, free: 4.016 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.7159, allocations: 16 kB / 0.7074 GB, free: 4 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/0.7177, allocations: 0.8939 MB / 0.7083 GB, free: 3.109 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.005715/0.7234, allocations: 3.897 MB / 0.7121 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.7251, allocations: 0.8196 MB / 0.7129 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006816/0.7258, allocations: 342.3 kB / 0.7132 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.927e-05/0.7259, allocations: 16.53 kB / 0.7132 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.7259, allocations: 47.12 kB / 0.7133 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 2.124e-06/0.7259, allocations: 0 / 0.7133 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67): time 0.01066/0.7366, allocations: 3.201 MB / 0.7164 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.7367, allocations: 115.4 kB / 0.7165 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007531/0.7375, allocations: 0.6486 MB / 0.7171 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.894e-05/0.7376, allocations: 41.69 kB / 0.7172 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002776/0.7378, allocations: 380 kB / 0.7175 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.738, allocations: 228.6 kB / 0.7177 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002361/0.7383, allocations: 146.6 kB / 0.7179 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.7384, allocations: 386.8 kB / 0.7183 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007762/0.7392, allocations: 364.6 kB / 0.7186 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008466/0.7401, allocations: 472.2 kB / 0.7191 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.7416, allocations: 0.7828 MB / 0.7198 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.7416, allocations: 0 / 0.7198 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003038/0.7447, allocations: 1.313 MB / 0.7211 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.7447, allocations: 7.984 kB / 0.7211 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.7447, allocations: 7.938 kB / 0.7211 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005046/0.7498, allocations: 0.9818 MB / 0.7221 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005429/0.7503, allocations: 111.8 kB / 0.7222 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002496/0.7528, allocations: 1.429 MB / 0.7236 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007504/0.7536, allocations: 51.94 kB / 0.7236 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.066e-05/0.7537, allocations: 35.98 kB / 0.7237 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009727/0.7547, allocations: 0.5018 MB / 0.7241 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007719/0.7555, allocations: 454.4 kB / 0.7246 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001416/0.7569, allocations: 0.7457 MB / 0.7253 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.578e-06/0.7569, allocations: 4 kB / 0.7253 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002808/0.7597, allocations: 1.149 MB / 0.7264 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.7598, allocations: 15.94 kB / 0.7264 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.7598, allocations: 5.047 kB / 0.7265 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001679/0.7615, allocations: 448.5 kB / 0.7269 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007724/0.7622, allocations: 159.8 kB / 0.727 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/0.7642, allocations: 2.197 MB / 0.7292 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007232/0.7649, allocations: 47.95 kB / 0.7292 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.449e-05/0.765, allocations: 35.98 kB / 0.7293 GB, free: 12.73 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.0003036/0.7653, allocations: 228.2 kB / 0.7295 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.7655, allocations: 87.06 kB / 0.7296 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/0.7679, allocations: 1.025 MB / 0.7306 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.768, allocations: 8.031 kB / 0.7306 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.768, allocations: 3.984 kB / 0.7306 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002346/0.7682, allocations: 156.1 kB / 0.7307 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.7684, allocations: 23.94 kB / 0.7307 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008039/0.7692, allocations: 55.94 kB / 0.7308 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.7693, allocations: 56.56 kB / 0.7309 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003342/0.7727, allocations: 1.202 MB / 0.732 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002555/0.7753, allocations: 1.404 MB / 0.7334 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008511/0.7761, allocations: 377 kB / 0.7338 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008138/0.777, allocations: 467 kB / 0.7342 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of Backend: time 7.22e-07/0.777, allocations: 0 / 0.7342 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005413/0.7824, allocations: 1.597 MB / 0.7358 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of SimCode: time 0.004038/0.7864, allocations: 2.446 MB / 0.7381 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of Templates: time 0.3014/1.088, allocations: 28.66 MB / 0.7661 GB, free: 219 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)